meanAlong | R Documentation |
This function is a simple moving window function.
meanAlong(vec, n)
vec |
a vector of numeric. |
n |
an integer indicating the size of the window. |
meanAlong(1:10, 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.