reimpute: Re-impute a data set
Description
This function accepts a data frame and a imputation description
as returned by impute
to perform the following actions:
- Restore dropped columns, setting them to
NA
- Add dummy variables for columns as specified in
impute
- Optionally check factors for new levels to treat them as
NA
s - Reorder factor levels to ensure identical integer representation as
before
- Impute missing values using previously collected data
See Also
Other impute: imputations
,
imputeConstant
, imputeHist
,
imputeLearner
, imputeMax
,
imputeMean
, imputeMedian
,
imputeMin
, imputeMode
,
imputeNormal
, imputeUniform
;
impute
; makeImputeMethod
;
makeImputeWrapper