unlab | R Documentation |
unlab
returns variable x without variable labels and value labels
unlab(x)
drop_all_labels(x)
x |
Variable(s). Vector/data.frame/list. |
unlab
returns original variable x without variable label, value labels and class.
unvr
unvl
raw_var = rep(1:2,5)
var_with_lab = set_var_lab(raw_var,"Income")
val_lab(var_with_lab) = c("Low"=1,"High"=2)
identical(raw_var,unlab(var_with_lab)) # should be TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.