plot_autocorr_mcmc: Plot MCMC autocorrelations for iSCAM models

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

plot_autocorr_mcmcR Documentation

Plot MCMC autocorrelations for iSCAM models

Description

Autocorrelation plots for parameters in an MCMC run

Usage

plot_autocorr_mcmc(
  model,
  plot_sel = NULL,
  param_rm = c("rho", "vartheta"),
  list_param_names = FALSE,
  text_title_size = 12,
  rows_cols = c(5, 4),
  ...
)

Arguments

model

An iscam model object (class mdl_cls)

plot_sel

Logical. If TRUE, plot only the selectivity parameters. If FALSE, plot only non-selectivity parameters. If NULL, plot all parameters except those in param_rm

param_rm

A vector of parameter names to remove. If any are not found in the output, a warning will be issued. If NULL, nothing is removed

list_param_names

Logical. If TRUE, list the parameter names that will be plot by this function, but do not actually plot it. This is to help you to use the param_rm argument, so you know what the names to be removed can be

text_title_size

Size of the axis label text

rows_cols

The number of rows and columns in the plot grid (vector of 2)

...

Arguments passed to base::plot()

Value

Nothing. Plots a grid of autocorrelation plots

See Also

Other MCMC diagnostics plots: plot_pairs_mcmc(), plot_priors_posts_mcmc(), plot_traces_mcmc()


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