Calculate with periods (format yyyymm)
Arguments
- 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)
- diff_to
Difference between date and yyyymm (format yyyymm)
Value
Vector of periods (format yyyymm) or number of months