Description Usage Arguments Examples
Calculates the moving average of a vector.
1 |
x |
A numeric vector. |
n |
Number of values to average. |
na.rm |
A logical. Whether or not to treat NAs as 0. |
na.start |
Whether starting elements without enough values to average
should calculate to NA. Default is |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.