Calculates the total yield of each species across all gears at each simulation time step.
getYield(object)# S4 method for MizerSim
getYield(object)
An object of class MizerSim
.
An array containing the total yield (time x species)
# 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