Specials                package:sspir                R Documentation

_S_p_e_c_i_a_l _f_u_n_c_t_i_o_n_s _u_s_e_d _i_n _s_s_m _f_o_r_m_u_l_a_s

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

     Auxiliary function for modelling the time-dependent trend patterns
     when formulating 'ssm' models.

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

     polytrig(time, period = 365.25, degree = 1)
     polytime(time, degree = 1)
     sumseason(time, period = 12)
     season(time, period = 12)

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

    time: a vector giving the observation times, eg. '1:n'.

  period: the period of the seasonal pattern.

  degree: the degree of the trigonometric polynomial or the degree of
          the polynomial time trend.

_D_e_t_a_i_l_s:

     'polytrig' defines a trigonometric polynomial in time, 'polytime'
     defines a polynomial time trend, 'sumseason' produces a seasonal
     pattern in which the factors sum to zero over the period, and
     'season' defines a factor.

_A_u_t_h_o_r(_s):

     Claus Dethlefsen and Sren Lundbye-Christensen.

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

     'ssm', 'kfilter', 'smoother', 'getFamily'.

