This function accepts a data frame or a task and an imputation description as returned by impute to perform the following actions:

  1. Restore dropped columns, setting them to NA

  2. Add dummy variables for columns as specified in impute

  3. Optionally check factors for new levels to treat them as NAs

  4. Reorder factor levels to ensure identical integer representation as before

  5. Impute missing values using previously collected data

reimpute(obj, desc)



(data.frame | Task)
Input data.


Imputation description as returned by impute.


Imputated data.frame or task with imputed data.

See also