year-methods          package:surveillance          R Documentation

_M_e_t_h_o_d_s _f_o_r _F_u_n_c_t_i_o_n _y_e_a_r

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

     Method to extract the corresponding year of each observation in an
     'sts' object. The year is calculated based on the 'start' slot.

_M_e_t_h_o_d_s:



     _x = "_s_t_s" For each time point in the 'x' the corresponding year is
          determined and returned. 

