Description Usage Arguments Value Examples
Recode vector into numeric vector with value labels
1 2 3 | as.labelled(x, label = NULL)
is.labelled(x)
|
x |
numeric vector/character vector/factor |
label |
optional variable label |
numeric vector with value labels
1 2 | character_vector = c("one", "two", "two", "three")
as.labelled(character_vector, label = "Numbers")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.