Learn R Programming

MultivariateRandomForest (version 1.1)

Imputation: Imputation of a vector of number

Description

Imputes the values of the vector which are NaN

Usage

Imputation(XX)

Arguments

XX
a vector of N x 1

Value

Imputed vector of N x 1

Details

If a value is missing, it will be replaced by an imputed value which is an average of previous and next value. While if previous or next value is also missing, the closet value has been used as an imputed value.