Learn R Programming

FSMUMI (version 1.0)

imp_1NA: Completing isolated missing points (1NA)

Description

Complete isolated missing points using the average of nearest neighbours.

Usage

imp_1NA(signal, pos1)

Arguments

signal

a univariate time series containing isolated missing values.

pos1

the position of the begining of gaps of size 1, obtained from Indexes_size_missing() function. This function returns a series with imputed values of all 1NAs.