plot_vuln_mcmc: Plot MCMC vulnerable biomass for iSCAM models

View source: R/plot-vuln-mcmc.R

plot_vuln_mcmcR Documentation

Plot MCMC vulnerable biomass for iSCAM models

Description

Plot vulnerable biomass time series plots for MCMC output with credible intervals

Usage

plot_vuln_mcmc(
  model,
  append_base_txt = tr("Spawning biomass"),
  xlim = NULL,
  ylim = NULL,
  leg_loc = NULL,
  angle_x_labels = FALSE,
  units = c("kt", "1000 t")
)

Arguments

model

An iSCAM model object as created in load_iscam_files()

append_base_txt

A vector of strings to append to the model names for display on the plot legend or title

xlim

The x limits for the plot. If NULL, the limits of the data will be used

ylim

The y limits for the plot. If NULL, the limits of the data will be used

leg_loc

A two-element vector describing the X-Y values between 0 and 1 to anchor the legend to. eg. c(1, 1) is the top right corner and c(0, 0) is the bottom left corner

angle_x_labels

If TRUE put 45 degree angle on x-axis tick labels minimum and the ceiling of the maximum value (including CI)

units

One of "1000 t" or "kt". The text that will appear in the y-axis label. The "1000 t" text will be changed to "1,000 t" or "1 000 t" for English or French respectively

See Also

Other Time series plotting functions: plot_biomass_grid_mcmc(), plot_biomass_mcmc(), plot_biomass_mpd(), plot_biomass_proj_mcmc(), plot_catch_fit_mcmc(), plot_f_mcmc(), plot_index_mcmc(), plot_index_mpd(), plot_q_mcmc(), plot_rdevs_mcmc(), plot_recr_grid_mcmc(), plot_recr_mcmc(), plot_recr_mpd(), plot_ts_mcmc()


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