mice_group_impute | R Documentation |
Multiple imputation using mice::mice
by cohort/cluster
mice_group_impute( df, clusterid, imputeLevel = 1, miceArg = list(method = "mean", maxit = 1) )
df |
data.frame for MICE imputation |
clusterid |
string, the name of cohort id indicator in the dataframe |
imputeLevel |
binary, 0 (no imputation) and 1 (impute everything) |
miceArg |
a list of arguments parse into |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.