tags | R Documentation |
This function retrieves the tags associated with a specified object.
tags(obj, envir = parent.frame())
obj |
The object to retrieve tags from. |
envir |
The environment in which the object exists. Defaults to the parent environment. |
Returns a sorted vector of tags associated with the object. If the object has no tags, the function prints a message and returns NULL.
# create a variable
x <- 5
# add tags to the variable
add_tags(x, "important", "numeric")
# retrieve the tags
tags(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.