plot_proj_biomass_density: Plot density of MCMC posterior for projected biomass with...

View source: R/figures.R

plot_proj_biomass_densityR Documentation

Plot density of MCMC posterior for projected biomass with quantiles and reference point (also with quantiles)

Description

Plot density of MCMC posterior for projected biomass with quantiles and reference point (also with quantiles)

Usage

plot_proj_biomass_density(
  models,
  regions,
  yr,
  tac = 0,
  refpt = "X03B0",
  line_size = 1,
  ribbon_alpha = 0.35,
  translate = FALSE
)

Arguments

models

list of iscam model objects

regions

a vector of regions names in the order they are to appear in the facets

yr

year to plot. Must be in the table 'models[[x]]$mcmccalcs$proj.quants“

tac

tac to extract data for

refpt

the reference point to plot, as found in 'models[[x]]$mcmccalcs$proj.quants“

line_size

thickness of the mediat Ut line

ribbon_alpha

transparency of the ribbon representing the credible interval for Ut

translate

Logical. If TRUE, translate to French

Value

a ggplot object


pbs-assess/herringutils documentation built on Jan. 10, 2025, 8:43 a.m.