plot_age_resids_mcmc: Plot MCMC age residuals bubbles for an iSCAM model

View source: R/plot-age-resids-mcmc.R

plot_age_resids_mcmcR Documentation

Plot MCMC age residuals bubbles for an iSCAM model

Description

Plot MCMC age residuals bubbles for an iSCAM model

Usage

plot_age_resids_mcmc(
  model,
  gear = 1,
  include = c(-5, 5),
  text_title_size = 12,
  text_title_inc_mdl_nm = FALSE,
  angle_x_labels = FALSE
)

Arguments

model

An iscam model object (class mdl_cls)

gear

The number of the gear to plot

include

Two-element vector of the minimum and maximum values to include. Eliminates large outliers which bias the bubble sizes

text_title_size

Size of text for the axis titles

text_title_inc_mdl_nm

Logical. If TRUE, make the model name the main title and the gear the subtitle. If FALSE, do not show the model name, and make the gear the main title (if text_title_size is NULL, no title will be shown)

angle_x_labels

If TRUE put 45 degree angle on x-axis tick labels

Value

A ggplot2::ggplot() object

See Also

Other Age plotting functions: plot_age_fits_mcmc(), plot_age_fits_mpd(), plot_age_resids_boxes_mcmc(), plot_age_resids_mpd()


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