Description Usage Arguments Value
rollmean
take a vector as input returns the moving average vector.
The non computable data (the fist window-1 items) are replaced by NAs.
1 |
x |
a numeric vector. |
window |
integer, representing the width of the window. |
a numeric vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.