The function tribe is identical to attributes,
expect that it always returns a named list (thus, when attributes
will return NULL, tribe will return an empty named list).
Usage
tribe(obj, keep_obj = FALSE)
tribe(obj) <- value
untribe(x)
Arguments
obj
An object.
keep_obj
logical. If TRUE, obj is passed as an attribute to
the result (useful in combination of untribe).