View source: R/general_utils.R
rollmeanr | R Documentation |
Calculate the rolling mean of a vector
rollmeanr(x, r)
x |
A vector |
r |
The number of years to average |
A vector of rolling averages
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.