revenue: Method revenue

Description Generic function Methods Author(s) See Also Examples

Description

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

Generic function

revenue(object)

Methods

signature(object=FLCatch) :

Returns an FLQuant object containing the revenue of a single catch

signature(object=FLMetier) :

Returns an FLQuants object containing the revenues of the catches in the metier

Author(s)

The FLR Team

See Also

FLFleet

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
    # 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)

FLCore documentation built on May 2, 2019, 5:46 p.m.