Learn R Programming

cleanTS (version 0.1.2)

impute: Handle missing values in the data

Description

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

Usage

impute(dt, methods)

Value

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

Arguments

dt

A data.table.

methods

The imputation methods to be used.