ema: exponentially weighted moving average; only return the last...

Description Usage Arguments Value Author(s)

View source: R/RcppExports.R

Description

exponentially weighted moving average; only return the last value

Usage

1
ema(x, n)

Arguments

x

a numeric vector

n

window size

Value

a numeric value

Author(s)

Larry Lei Hua


larryleihua/fmlr documentation built on Jan. 31, 2020, 8:55 a.m.