imp_1NA: Imputing gaps of size 1

Description Usage Arguments Value Author(s)

View source: R/4_3_1Imputing_1NA.R

Description

Imputes isolated missing values based on the average of nearest neighbours.

Usage

1
imp_1NA(data, pos1)

Arguments

data

a univariate signal

pos1

the position of the begining of gaps of size 1, as obtained using Indexes_size_missing_multi() function

Value

returns a new vector of same size with imputed values

Author(s)

DEZECACHE Camille, PHAN Thi Thu Hong, POISSON-CAILLAULT Emilie


DTWUMI documentation built on May 1, 2019, 10:26 p.m.