yyyymm_calc | R Documentation |
Calculate with periods (format yyyymm)
yyyymm_calc(yyyymm, add_month = 0, add_year = 0)
yyyymm |
Input vector of periods (format yyyymm) |
add_month |
How many months to add (can be negative too) |
add_year |
How many years to add (can be negative too) |
Vector of periods (format yyyymm)
yyyymm_calc(202412, add_month = 1)
yyyymm_calc(c(202411,202412,202501), add_month = -1, add_year = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.