| rolling_quarter_sum | R Documentation |
For each starting month (1-12), computes the sum of 3 consecutive months with circular wrapping (month 13 = month 1, month 14 = month 2).
rolling_quarter_sum(x, na.rm = FALSE)
x |
A numeric vector of length 12 (monthly values). |
na.rm |
Logical. If |
A numeric vector of length 12 with rolling quarter sums.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.