attrs | R Documentation |
Simple tools to add and remove attributes, both normally and in-place.
To remove specific attributes, set those attributes to NULL
.
attrs_modify(x, ..., .set = FALSE, .args = NULL)
attrs_add(x, ..., .set = FALSE, .args = NULL)
attrs_clear(x, .set = FALSE)
attrs_rm(x, .set = FALSE)
x |
Object to add/remove attributes. |
... |
Named attributes, e.g 'key = value'. |
.set |
Should attributes be added in-place without shallow-copying |
.args |
An alternative to |
The object x
with attributes removed or added.
shallow_copy
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.