View source: R/3-shared-getCutoff.R
getMovingAverage | R Documentation |
Caclulate the moving average of a vector.
getMovingAverage(values, window_size = 1)
values |
A numeric vector. |
window_size |
An integer. The size of the window to calculate the moving average. Default is 1. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.