plot_penalties: Plot priors vs posteriors for carrying capacity, initial...

Description Usage Arguments Value

Description

Plot priors vs posteriors for carrying capacity, initial depletion, terminal year U/UMSY and B/BMSY for a series of fits.

Usage

1
plot_penalties(..., names = NULL, plot = TRUE, percentile = 0.99)

Arguments

...

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.

percentile

Optional percentile to calculate prior density range. Defaults to 99%.

fit

A returned list from run.SIR

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.

An invisible ggplot2 object which can be printed or saved.


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