plot_hcr | R Documentation |
Plot Harvest control rules as pairs plots
plot_hcr(
hcr.lst,
sbt.lst,
sbo.lst,
mp = "",
region = "",
probs = c(0.025, 0.975),
depletion = TRUE,
point.size = 0.3,
point.alpha = 0.4,
line.width = 0.5,
show.medians = TRUE,
show.means = TRUE,
show.shaded = FALSE,
show.x.axes = TRUE,
axis.text.size = 7,
panel.text.size = 3
)
hcr.lst |
A list of length equal to the length of the sbt list, of vectors of length two, containing the catch limit (tac) and associated harvest rate (hr) |
sbt.lst |
a list of vectors of timeseries biomass values (typically many posteriors) |
sbo.lst |
a list of vectors of timeseries unfish biomass values (typically many posteriors) |
mp |
name of the management procedure to appear on the blank panel |
region |
name for the region to appear on the blank panel |
probs |
vector of length 2 for credible interval of median |
depletion |
if TRUE, show depletion (SB_t/SB_0); if FALSE show SB_t |
point.size |
size of points |
point.alpha |
transparency of points |
line.width |
width ot thickness of all lines |
show.medians |
show the median lines and credible intervals |
show.means |
show the mean lines |
show.x.axes |
if TRUE, axes labels, tick marks and tick labels will be shown on the lower plot's x axes |
axis.text.size |
size of text for axis labels |
panel.text.size |
text size for the description panels |
a ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.