Imputation {IntegratedMRF}R Documentation

Imputation of a numerical vector

Description

Imputes the values of the vector that are NaN

Usage

Imputation(XX)

Arguments

XX

a vector of size N x 1

Details

If a value is missing, it will be replaced by an imputed value that is an average of previous and next value. If previous or next value is also missing, the closest value is used as the imputed value.

Value

Imputed vector of size N x 1


[Package IntegratedMRF version 1.1.9 Index]