as.labelled | R Documentation |
Recode vector into numeric vector with value labels
as.labelled(x, label = NULL)
is.labelled(x)
x |
numeric vector/character vector/factor |
label |
optional variable label |
numeric vector with value labels
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.