replace_overimputes | R Documentation |
Replace all overimputed data points in the mice imputation of one variable. Overimputed data points are those data that were not missing in the original but were marked for imputation manually and imputed by the imputation procedure.
replace_overimputes(data, imp, j, i)
data |
data.frame the original, non-imputed dataset (mids$data) |
imp |
list of data.frames all imputations stored in the mids object |
j |
character scalar the name of the variable whose imputations should be replaced |
i |
character or integer scalar the number of the current imputation (can be 1:m) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.