clean_tags | R Documentation |
This function removes the 'tags' attribute from an object, effectively removing all tags attached to the object. If the object does not have a 'tags' attribute, the function simply returns without modifying the object.
clean_tags(obj, envir = parent.frame())
obj |
The object to remove tags from |
envir |
The environment in which to look for the object |
No return value.
# create an object and add some tags
my_vec <- c(1, 2, 3)
add_tags(my_vec, "important", "numeric")
# remove the tags from the object
clean_tags(my_vec)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.