label<- | R Documentation |
This function sets a label to a variable, by storing a character string to its label
attribute.
label(var) <- value
var |
a variable (see |
value |
a character value that is to be set as variable label |
label
## Not run:
label(mtcars$mpg) <- "fuel consumption"
x <- rnorm(100)
(label(x) <- "pseudo-random normal variable")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.