Imputation: Imputation of a vector of number
Description
Imputes the values of the vector which are NaN
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.