FLCatch                package:FLCore                R Documentation

_M_e_t_h_o_d _F_L_C_a_t_c_h

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

     The 'FLCatch' constructor method allows simple creation of new
     FLCatch objects from a species name and optional FLQuants.

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

     FLCatch(object)

_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) : Creates a new FLCatch object using
          the dimensions of the FLQuant. If no slot is specified, all
          slots are filled with NA. If one slot is  specified, it will
          receive the value of the FLQuant, while other slots will be
          filled  with NA. It is also possible to specify several slots
          receiving different values from  different FLQuant, if their
          dimensions 2 to 6 are identical. The first dimension of the 
          slots 'catch', 'discards' and 'landings' is by default "all".

      _s_i_g_n_a_t_u_r_e(_o_b_j_e_c_t=_m_i_s_s_i_n_g) : Creates a new FLCatch whose slots are
          filled with an empty FLQuant with quant="all" and year=1 

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

     The FLR Team

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

     FLComp

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

     mycatch <- FLCatch(name='PLE')

     flq <- FLQuant(rnorm(8),dim=c(2,2,1,1,1,2))
     mycatch <- FLCatch(name='PLE',flq)
     mycatch <- FLCatch(name='PLE',landings.wt=flq)

     flq2 <- FLQuant(rnorm(8)*100,dim=c(2,2,1,1,1,2))
     mycatch <- FLCatch(name='PLE',landings.wt=flq,landings.n=flq2)

