getSSA: Calculate the SSA of species

getSSAR Documentation

Calculate the SSA of species

Description

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

Calculate the SSA from a therMizerSim object

Usage

getSSA(object)

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

Arguments

object

An object of class therMizerSim.

Value

An array containing the SSA (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)
getSSA(sim)

## End(Not run)

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