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

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

if (FALSE) { data(NS_species_params_gears) data(inter) params <- newMultispeciesParams(NS_species_params_gears, inter) sim <- project(params, effort=1, t_max=10) y <- getYield(sim) }