make_vidya: Variable index dynamic average

Description Usage Arguments Value

View source: R/online_ma.R

Description

Variable index dynamic average

Usage

1
2
3
make_vidya(period_short = 5, period_long = 20, alpha = 0.2, ...)

vidya(x, period_short = 5L, period_long = 20L, alpha = 0.2)

Arguments

period_short

short period for efficiency ratio

period_long

long period for efficiency ratio

alpha

smoothing factor

...

not used

x

variable to average

Value

an online function


imlijunda/tswbench documentation built on June 12, 2021, 12:45 p.m.