View source: R/prepare_imp_NAs.R
prepare_imp_NAs | R Documentation |
Make all values of vars with imputation flag = 1 into NAs
prepare_imp_NAs(df, vars, flag = "pimp.", waves = 1:12)
df |
The data.frame to use |
vars |
Character vector of variable names |
flag, waves |
See |
A modified version of df with all flagged values of vars made NA
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.