Description Usage Arguments Examples
View source: R/read_labelled.R
Recodes specified values to NA, also removes their labels
1 | zap_values(x, values)
|
x |
Variable which values are to be recoded into NA |
values |
Vector of values to recode |
1 2 3 | var <- c(1,1,2,2,2,7,8,9,0)
zap_values(var, 7:9)
zap_values(var, c(1,2,3))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.