addDate: Add Periods to a Date

Description Usage Arguments Value Note See Also Examples

Description

Add periods to two element start date of given frequency to give a new date. NULL periods is treated as 0.

Usage

1
    addDate(date, periods, freq)

Arguments

date

A two element date as used by tsp i.e c(year, period).

periods

A number of periods.

freq

The number of periods in a year.

Value

A two element date.

Note

A useful utility not strictly part of tframe.

See Also

tfExpand

Examples

1
    addDate(c(1998,1), 20, 12)


Search within the tfplot package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.