powered by
Add periods to two element start date of given frequency to give a new date. NULL periods is treated as 0.
addDate(date, periods, freq)
A two element date as used by tsp i.e c(year, period).
A number of periods.
The number of periods in a year.
A two element date.
tfExpand
# NOT RUN { addDate(c(1998,1), 20, 12) # }
Run the code above in your browser using DataLab