View source: R/plot-ref-points.R
plot_ref_points | R Documentation |
Plot reference point boxplots
plot_ref_points(
model,
ref_pts = c("sbo", "bmsy", "msy1", "msy2", "umsy1", "umsy2"),
ref_desc = c(expression(italic(SB)[0]), expression(italic(B)[MSY]),
expression(italic(MSY)[1]), expression(italic(MSY)[2]),
expression(italic(U[MSY])[1]), expression(italic(U[MSY])[2])),
color = "black",
fill = "steelblue"
)
model |
An iscam model object (class mdl_cls) |
ref_pts |
A vector of the names of reference points to plot |
ref_desc |
A vector of fancy descriptions for the values in |
color |
The histogram color (outline of bars) |
fill |
The histogram bar fill color |
A cowplot::plot_grid()
of ggplot2::ggplot()
box plots
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.