val_labels_to_na {labelled} | R Documentation |
Recode value labels to NA
Description
For labelled variables, values with a label will be recoded to NA
.
Usage
val_labels_to_na(x)
Arguments
x |
Object to recode. |
See Also
Examples
v <- labelled(c(1, 2, 9, 1, 9), c(dk = 9))
val_labels_to_na(v)
[Package labelled version 2.13.0 Index]