Calculates the spawning stock biomass (SSB) through time of the species in the MizerSim class. SSB is calculated as the total mass of all mature individuals.

getSSB(sim)

Arguments

sim

An object of class MizerSim.

Value

An array containing the SSB (time x species)

See also

Other summary functions: getBiomass(), getDiet(), getGrowthCurves(), getN(), getYieldGear(), getYield()

Examples

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) getSSB(sim) }