Description Usage Arguments Value See Also
View source: R/smoothing-rules.R
Linear smoothing rule
x_{t+1}:=a\,x_t + (1-a)\,x_{t-1}
for some a\in[0,1].
1 | smooth_lin(x, xt, a)
|
x |
|
xt |
|
a |
smoothing parameter a. |
A numeric
vector of updated parameters.
Other smoothing rules:
smooth_dec()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.