revenue {FLCore}R Documentation

Method revenue

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

    # 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)

[Package FLCore version 2.2 Index]