powered by
Recode vector into numeric vector with value labels
as.labelled(x, label = NULL)is.labelled(x)
is.labelled(x)
numeric vector with value labels
numeric vector/character vector/factor
optional variable label
character_vector = c("one", "two", "two", "three") as.labelled(character_vector, label = "Numbers")
Run the code above in your browser using DataLab