View source: R/attrition_drop.R
attrition_drop | R Documentation |
Replace values with NAs if respondent did not participate in a survey wave
attrition_drop(imp_df, wave, wave_indicator)
imp_df |
Data frame from after imputation |
wave |
The wave number |
wave_indicator |
A logical vector. Each element should be TRUE if the respondent is in the wave and FALSE if not. |
Updated imp_df
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.