added_as | R Documentation |
Function either returns value of 'attributes(obj)$added_as' (if TYPE is not provided)
OR
returns updated 'obj' with addedd attribute if both conditions are fulfilled:
'TYPE' is provided and attribute is 'NULL'. otherwise returns 'obj' intact.
added_as(obj, TYPE = NULL, force.TYPE = FALSE)
obj |
An object to be updated |
TYPE |
string to be added as attribute |
force.TYPE |
Logical. If |
If force.TYPE == TRUE, new value of 'TYPE' will be added any way.
Vilmantas Gegzna
# [NO EXAMPLES YET]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.