Learn R Programming

mizer (version 2.0.3)

getYieldGear: Calculate the total yield per gear and species

Description

Calculates the total yield per gear and species at each simulation time step.

Usage

getYieldGear(sim)

Arguments

sim

An object of class MizerSim.

Value

An array containing the total yield (time x gear x species)

See Also

getYield()

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

Examples

Run this code
# NOT RUN {
params <- newMultispeciesParams(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)
getYieldGear(sim)
# }

Run the code above in your browser using DataLab