View source: R/summary_methods.R
getBiomass | R Documentation |
Calculates the total biomass through time within user defined size limits. The default option is to use the whole size range. You can specify minimum and maximum weight or length range for the species. Lengths take precedence over weights (i.e. if both min_l and min_w are supplied, only min_l will be used).
getBiomass(object, ...)
object |
An object of class |
... |
Arguments passed on to
|
If called with a MizerParams object, a vector with the biomass in grams for each species in the model. If called with a MizerSim object, an array (time x species) containing the biomass in grams at each time step for all species.
Other summary functions:
getDiet()
,
getGrowthCurves()
,
getN()
,
getSSB()
,
getYield()
,
getYieldGear()
biomass <- getBiomass(NS_sim)
biomass["1972", "Herring"]
biomass <- getBiomass(NS_sim, min_w = 10, max_w = 1000)
biomass["1972", "Herring"]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.