val_labels_to_na | R Documentation |
For labelled variables, values with a label will be recoded to NA
.
val_labels_to_na(x)
x |
Object to recode. |
haven::zap_labels()
v <- labelled(c(1, 2, 9, 1, 9), c(dk = 9))
val_labels_to_na(v)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.