| reimpute {mlr} | R Documentation |
Re-impute a data set
Description
This function accepts a data frame or a task and an imputation description as returned by impute to perform the following actions:
Restore dropped columns, setting them to
NAAdd dummy variables for columns as specified in
imputeOptionally check factors for new levels to treat them as
NAsReorder factor levels to ensure identical integer representation as before
Impute missing values using previously collected data
Usage
reimpute(obj, desc)
Arguments
obj |
(data.frame | Task) |
desc |
( |
Value
Imputated data.frame or task with imputed data.
See Also
Other impute:
imputations,
impute(),
makeImputeMethod(),
makeImputeWrapper()
[Package mlr version 2.19.2 Index]