Description Usage Arguments Details References
Exponentially weighted moving average
1 |
x |
numeric vector. |
lambda |
parameter (between 0 and 1). |
na_prev |
if missing value appears in |
Exponentially weighted moving average is defined as
Z[i] = λ * Y[i] + (1 - λ) * Z[i-1]
Lucas, J. M. and Saccucci, M. S. (1990). Exponentially weighted moving average control schemes: Properties and enhancements. Technometrics 32, 1-29.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.