plotYieldGear: Plot the total yield of each species by gear through time

plotYieldGearR Documentation

Plot the total yield of each species by gear through time

Description

After running a projection, the total yield of each species by fishing gear can be plotted against time. This plot is pretty easy to do by hand. It just gets the biomass using the getYieldGear method and plots using the ggplot2 package. You can then fiddle about with colours and linetypes etc. Just look at the source code for details.

Plot the yield of each gear using a therMizerSim object.

Usage

plotYieldGear(object, ...)

## S4 method for signature 'therMizerSim'
plotYieldGear(object, print_it = TRUE, ...)

Arguments

object

An object of class therMizerSim

...

Other arguments to pass to getYieldGear method

print_it

Display the plot, or just return the ggplot2 object

Value

A ggplot2 object

See Also

getYieldGear

Examples

## Not run: 
data(NS_species_params_gears)
data(inter)
params <- therMizerParams(NS_species_params_gears, inter)
sim <- project_therMizer(params, effort=1, t_max=20, t_save = 2)
plotYieldGear(sim)

## End(Not run)

pwoodworth-jefcoats/Size-Based-Modeling documentation built on Sept. 15, 2023, 8:13 a.m.