View source: R/shared_class_functions.r
rename_attrs | R Documentation |
Generic function, for renaming attributes present in a database-like structure.
rename_attrs(x, names, ...)
x |
an object with an |
names |
a character vector of the same length as |
... |
further arguments passed on to methods. |
This function has a different intended use to re-assigning
attrs_order
: that is intended only for rearranging the order of
the attributes, without renaming them. This is intended for renaming the
attributes without re-ordering them.
A relational object of the same type as x
, with attributes
renamed consistently across the whole object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.