dot-imp_NA_WMA: Imputing small gaps of size 1 < size < gap_size_threshold

.imp_NA_WMAR Documentation

Imputing small gaps of size 1 < size < gap_size_threshold

Description

Imputes small gaps by weighted moving average.

Usage

.imp_NA_WMA(signal, posMA, pMA, store_w, lag)

Arguments

signal

signal

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

Value

Vector of imputed values.


DTWUMI documentation built on Sept. 9, 2026, 9:08 a.m.