plot_ref_points: Plot reference point boxplots

View source: R/plot-ref-points.R

plot_ref_pointsR Documentation

Plot reference point boxplots

Description

Plot reference point boxplots

Usage

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"
)

Arguments

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 ref_pts

color

The histogram color (outline of bars)

fill

The histogram bar fill color

Value

A cowplot::plot_grid() of ggplot2::ggplot() box plots


pbs-assess/gfiscamutils documentation built on Oct. 24, 2024, 1:37 p.m.