plot_ref_points_dist_mcmc: Plot DFO-style reference point figure with horizontal...

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

plot_ref_points_dist_mcmcR Documentation

Plot DFO-style reference point figure with horizontal boxplots and zones bounded by B0 reference points

Description

Plot DFO-style reference point figure with horizontal boxplots and zones bounded by B0 reference points

Usage

plot_ref_points_dist_mcmc(
  model,
  biomass_col = "B2023",
  probs = c(0.025, 0.25, 0.5, 0.75, 0.975),
  proj_catch_vals = NULL,
  line_thickness = 0.75
)

Arguments

model

An iscam model object (class mdl_cls)

biomass_col

The column name that you want to shoe output for. This column will be divided by the SB0 value to get a depletion for the year in the name of the column

probs

Probability values to use in the plot

proj_catch_vals

The catch values to include in the plot. If NULL, include all values present in the list from the output (model$mcmccalcs$proj_sbt_quants). If non-null, is a vector of values of catch to filter the projection biomass table on. Only show those values in the plot

line_thickness

Thickness of reference point lines (vertical lines)


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