add.date {tframe}R Documentation

Add Periods to a Date

Description

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

Usage

    add.date(date, periods, freq)

Value

A two element date.

Note

A useful utility not strictly part of tframe.

See Also

tfexpand

Examples

    add.date(c(1998,1), 20, 12)