Learn R Programming

mizer (version 0.4)

getYield: Calculate the total yield of each species

Description

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

Calculate the total yield of each species from a MizerSim object

Usage

getYield(object)

# S4 method for MizerSim getYield(object)

Arguments

object

An object of class MizerSim.

Value

An array containing the total yield (time x species)

See Also

getYieldGear

Examples

Run this code
# NOT RUN {
data(NS_species_params_gears)
data(inter)
params <- MizerParams(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