Learn R Programming

mizer (version 2.3.0)

getYield: Calculate the yearly yield for each species

Description

Calculates the yearly yield (biomass fished per year) for each species across all gears at each simulation time step.

Usage

getYield(sim)

Arguments

sim

An object of class MizerSim.

Value

An array (time x species) containing the total yearly yield in grams.

See Also

getYieldGear()

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

Examples

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

Run the code above in your browser using DataLab