running_mean | R Documentation |
Calculates the running mean of a vector over a specified window size.
running_mean(vec, bin)
vec |
Numeric vector. Input data. |
bin |
Integer. Window size. |
Numeric vector. Running mean values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.