Description Generic function Methods Author(s) See Also Examples
Calculates the revenue from elements of an FLFleet object as the sum of the landings weight-at-quant times its price by quant.
revenue(object)
Returns an FLQuant object containing the revenue of a single catch
Returns an FLQuants object containing the revenues of the catches in the metier
The FLR Team
FLFleet
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.