window                package:FLCore                R Documentation

_E_x_t_r_a_c_t _t_i_m_e (_y_e_a_r) _w_i_n_d_o_w_s _o_f _a_n _F_L_R _o_b_j_e_c_t

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

     This method extracts a section of or extends an 'FLQuant' or other
     FLR objects  along the 'year' dimension. If a frequency is
     specified, the new object contains  data at only those year steps.

     Although objects of class 'FLQuant' do have another temporal
     dimension, 'season', currently window only works along the 'year'
     dimension. To subset along other dimensions, refer to
     Extract-FLCore.

_G_e_n_e_r_i_c _f_u_n_c_t_i_o_n:

     window(x)

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


     _s_i_g_n_a_t_u_r_e(_x=_F_L_Q_u_a_n_t) : Subset along the 'year' dimension

     _s_i_g_n_a_t_u_r_e(_x=_F_L_C_o_m_p) : The method is applied to each slot of class
          'FLQuant'.

     _s_i_g_n_a_t_u_r_e(_x=_F_L_l_s_t) : The window method is applied to each element
          in the list.

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

     The FLR Team

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

     window, Extract-FLCore

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

     flq <- FLQuant(rnorm(50), dimnames=list(age=1:5, year=1990:2000))
     window(flq, start=1995, end=1998)
     window(flq, start=1990, end=2010, frequency=2)

