50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

mizer (version 2.3.0)

getSSB: Calculate the SSB of species

Description

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.

Usage

getSSB(sim)

Arguments

sim

An object of class MizerSim.

Value

An array (time x species) containing the SSB in grams.

See Also

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

Examples

Run this code
# NOT RUN {
ssb <- getSSB(NS_sim)
ssb[c("1972", "2010"), c("Herring", "Cod")]
# }

Run the code above in your browser using DataLab