R/summary_methods.R
getBiomass.Rd
Calculates the total biomass through time of the species in the
MizerSim
class 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(sim, ...)
sim | An object of class |
---|---|
... | Arguments passed on to
|
An array containing the biomass (time x species)
Other summary functions:
getDiet()
,
getGrowthCurves()
,
getN()
,
getSSB()
,
getYieldGear()
,
getYield()
if (FALSE) { data(NS_species_params_gears) data(inter) params <- newMultispeciesParams(NS_species_params_gears, inter) # With constant fishing effort for all gears for 20 time steps sim <- project(params, t_max = 20, effort = 0.5) getBiomass(sim) getBiomass(sim, min_w = 10, max_w = 1000) }