getSSB: Calculate the SSB of species

Description Usage Arguments Value Examples

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.

Calculate the SSB from a MizerSim object

Usage

1
2
3
4
getSSB(object)

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

Arguments

object

An object of class MizerSim.

Value

An array containing the SSB (time x species)

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
data(NS_species_params_gears)
data(inter)
params <- MizerParams(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)

## End(Not run)

drfinlayscott/mizer documentation built on May 18, 2018, 9:20 a.m.