Skip to contents

This function handles missing values in the data. It compares various imputation methods and finds the best one for imputation.

Usage

impute(dt, methods)

Arguments

dt

A data.table.

methods

The imputation methods to be used.

Value

A data.table with missing data imputed, and the imputation errors.