Impute missing values based on a regression / classification model.
Internally delegates to vimpute() with method = "regularized" (glmnet)
or "robust" (lmrob/glmrob).
regressionImp(
formula,
data,
family = "AUTO",
robust = FALSE,
imp_var = TRUE,
imp_suffix = "imp",
mod_cat = FALSE
)model formula to impute one variable
A data.frame containing the data
ignored in this wrapper version (only "AUTO"-like behaviour via vimpute)
logical; if TRUE use method = "robust", otherwise "regularized"
logical; if TRUE create TRUE/FALSE variables indicating imputation status
suffix used for TF imputation variables
ignored in this wrapper version (classification handled by vimpute)
the imputed data set (same class as data)
Other imputation methods:
hotdeck(),
impPCA(),
imputeRobust(),
imputeRobustChain(),
irmi(),
kNN(),
matchImpute(),
medianSamp(),
rangerImpute(),
sampleCat(),
vimpute(),
xgboostImpute()