Description Usage Arguments Value
Rolling mean
1 | rolling.mean(x, n = 7, align = c("center", "left", "right"))
|
x |
a numeric vector |
n |
an integer |
... |
extra parameters for |
The rolling mean of x
based on n
points.
This is just a wrapper for as.vector(filter(x, rep(n,1/n), ...))
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.