imp_small_gaps_WMA: Completing small gaps that their sizes belong to...

Description Usage Arguments Value Author(s)

View source: R/Imputing_small_gaps.R

Description

Imputing small gaps using weighted moving average.

Usage

1
imp_small_gaps_WMA(signal, posMA, pMA, store_w, lag)

Arguments

posMA

position of the begining of small gaps

pMA

position of all corresponding values of small gaps

store_w

list storing index and size of gaps

lag

lag of the weighted moving average function

Data

multivariate data

univariate

signal

Value

returns a vector of imputed values

Author(s)

Thi-Thu-Hong Phan, Andre Bigand, Emilie Poisson-Caillault


FSMUMI documentation built on May 2, 2019, 12:40 p.m.