Learn R Programming

mizer (version 1.0.1)

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(object)

# S4 method for MizerSim getYieldGear(object)

Arguments

object

An object of class MizerSim.

Value

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

See Also

getYield

Examples

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