getSSB: Calculate the SSB of species

getSSBR Documentation

Calculate the SSB of species

Description

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

Calculate the SSB from a therMizerSim object

Usage

getSSB(object)

## S4 method for signature 'therMizerSim'
getSSB(object)

Arguments

object

An object of class therMizerSim.

Value

An array containing the SSB (time x species)

Examples

## Not run: 
data(NS_species_params_gears)
data(inter)
params <- therMizerParams(NS_species_params_gears, inter)
# With constant fishing effort for all gears for 20 time steps
sim <- project_therMizer(params, t_max = 20, effort = 0.5)
getSSB(sim)

## End(Not run)

pwoodworth-jefcoats/Size-Based-Modeling documentation built on Sept. 15, 2023, 8:13 a.m.