plot_ssb: Plot spawning biomass time series for posterior draws with...

Description Usage Arguments Value

Description

Plot spawning biomass time series for posterior draws with catches.

Usage

1
plot_ssb(fit, ylim = NULL)

Arguments

fit

A returned list from run.SIR

ylim

The ylim to use, if not specified will be calculated internally.

...

A series of fits as returned by run.SIR

names

An optional character string with length equal to the number of fits, used to identify fits on the plot.

plot

Boolean for whether to print the plot.

Value

Functions using base plots return nothing, but those using ggplot2 return an invisible ggplot object which can then be used to print or save as normally done. In all cases if 'plot=TRUE' then a plot is created.


colemonnahan/sraplus documentation built on May 14, 2019, 3:10 a.m.