View source: R/shared_class_functions.r
attrs_order | R Documentation |
Generic function, fetching attribute order for relational objects.
attrs_order(x, ...)
attrs_order(x, ...) <- value
x |
an R object, such as a |
... |
further arguments passed on to methods. |
value |
A character vector of the same length as |
All classes in autodb
contain an attrs_order
attribute. It
gives an easy way to find a list of all attributes/variables involved in an
object, but its main purpose is to also assign those attributes a consistent
order when printing or plotting the object.
A character vector, giving attributes in the order in which they're
prioritised for sorting within x
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.