impute {cleanTS} | R Documentation |
This function handles missing values in the data. It compares various imputation methods and finds the best one for imputation.
impute(dt, methods)
dt |
A data.table. |
methods |
The imputation methods to be used. |
A data.table with missing data imputed, and the imputation errors.