addDate                package:tframe                R Documentation

_A_d_d _P_e_r_i_o_d_s _t_o _a _D_a_t_e

_D_e_s_c_r_i_p_t_i_o_n:

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

_U_s_a_g_e:

         addDate(date, periods, freq)

_A_r_g_u_m_e_n_t_s:

    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.

_V_a_l_u_e:

     A two element date.

_N_o_t_e:

     A useful utility not strictly part of tframe.

_S_e_e _A_l_s_o:

     'tfExpand'

_E_x_a_m_p_l_e_s:

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

