Description Usage Arguments Value Examples
Extended rolling mean, fill the extremeties with linear extrapolation. This way the output has same length as the original vector.
1 | rollex(x, k = 5)
|
x |
a numerical vector |
k |
integer, width of the window for rolling mean |
A numerical vector of same length as x.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.