Adds attribures to the set with data.table::setattr

disambr_set_attr(
  focal_set,
  ...,
  check_attr_names_prefix = TRUE,
  attr_names_prefix = "disambr_set_"
)

Arguments

focal_set

Set to add attribute to

...

Named attributes

check_attr_names_prefix

Whether to check for short names of attributes. See attr_names_prefix.

attr_names_prefix

If name does not start with this prefix (default is 'disambr_set_'), it will add this prefix before attribute name.

Value

focal_set