keyword | R Documentation |
Functions to assign, retrieve or look up object keyword attributes.
keyword(x, ...)
x |
Object. |
... |
Other arguments (not used). |
value |
Character string(s) specifying the index key to be assigned. |
keyword
Default key
method.
keyword.default
Default format
retrieval method. If no key
attribute is
defined, then a call to format
is made.
key<-
Generic key
assignment method. See Examples for usage.
key<-.default
Defaultkey
assignment method. See Examples for usage.
metadata
# Build sample data: x <- data.frame(year = 1990:2014, measurement = rpois(25, 5)) keyword(x) <- c("Annual", "survey") # Assign keywords keyword(x) # Retrieve key.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.