After running a projection, the total yield of each species across all fishing gears can be plotted against time. The yield is obtained with getYield.

plotlyYield(
  sim,
  sim2,
  species = dimnames(sim@n)$sp,
  total = FALSE,
  log = TRUE,
  highlight = NULL,
  ...
)

Arguments

sim

An object of class MizerSim

sim2

An optional second object of class MizerSim. If this is provided its yields will be shown on the same plot in bolder lines.

species

Name or vector of names of the species to be plotted. By default all species are plotted.

total

A boolean value that determines whether the total over all species in the system is plotted as well. Default is FALSE

log

Boolean whether yield should be plotted on a logarithmic axis. Defaults to true.

highlight

Name or vector of names of the species to be highlighted.

...

Other arguments (currently unused)

Value

A ggplot2 object

See also