revenue                package:FLCore                R Documentation

_M_e_t_h_o_d _r_e_v_e_n_u_e

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

     Calculates the revenue from elements of an FLFleet object as the
     sum of the landings  weight-at-quant times its price by quant.

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

     revenue(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_C_a_t_c_h) : Returns an FLQuant object containing
          the revenue of a single catch

      _s_i_g_n_a_t_u_r_e(_o_b_j_e_c_t=_F_L_M_e_t_i_e_r) : Returns an FLQuants object
          containing the revenues of the catches in the metier

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

     The FLR Team

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

     FLFleet

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

         # load FLFleet dataset
         data(bt4)
         # Calculate revenue of individual catches
         sol.rev <- revenue(catches(metier(bt4,"TBB"),"sol"))
         ple.rev <- revenue(catches(metier(bt4,"TBB"),"ple"))
         # Calculate revenue of the catches in the metier
         TBB.rev <- revenue(metier(bt4,"TBB"))

         ## Not run: 
         plot(sol.rev, type='b', ylab='revenues (euros)', xlab='')
         
     ## End(Not run)

