Learn R Programming

mizer (version 2.0.3)

getYield: Calculate the total yield of each species

Description

Calculates the total yield of each species across all gears at each simulation time step.

Usage

getYield(sim)

Arguments

sim

An object of class MizerSim.

Value

An array containing the total yield (time x species)

See Also

getYieldGear()

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

Examples

Run this code
# NOT RUN {
params <- newMultispeciesParams(NS_species_params_gears, inter)
sim <- project(params, effort=1, t_max=10)
y <- getYield(sim)
# }

Run the code above in your browser using DataLab