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)

