iter                 package:FLCore                 R Documentation

_S_e_l_e_c_t _o_r _m_o_d_i_f_y _i_t_e_r_a_t_i_o_n_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:

     To extract or modify a subset of the iterations contained in an
     FLR object, the  'iter' and 'iter<-' methods can be used.

     In complex with various 'FLQuant' slots, the 'iter' method checks
     whether individual slots contain more than one iteration, i.e.
     'dims(object)[6] > 1'. If a particular slot contains a single
     iteration, that is returned, otherwise the chosen one is selected.
     This is in contrast with the subset operator '[', which does not
     carry out this check.

     For objects of class 'FLModel', iters are extracted for slots of
     classes 'FLQuant', 'FLCohort' and 'FLPar'.

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

     iter(object)  iter<-(object,value)

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


      _s_i_g_n_a_t_u_r_e(_o_b_j_e_c_t=_F_L_Q_u_a_n_t) : Describe method

      _s_i_g_n_a_t_u_r_e(_o_b_j_e_c_t=_F_L_C_o_m_p) : Describe method

      _s_i_g_n_a_t_u_r_e(_o_b_j_e_c_t=_F_L_Q_u_a_n_t_s) : Describe method

      _s_i_g_n_a_t_u_r_e(_o_b_j_e_c_t=_F_L_P_a_r) : Describe method

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

     The FLR Team

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

     FLComp, FLQuant-class

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

     flq <- FLQuant(rnorm(800), dim=c(4,10,2), iter=10)
     iter(flq, 2)

     fls <- FLStock(catch.n=flq, m=FLQuant(0.2, dim=c(4,10,2)))
     fls2 <- iter(fls, 2)
     summary(fls2)

