Skip to contents

Model diagnostics for MCMC

Usage

mcmc_diag(mcmc_obj, tmb_sdrep, plot = TRUE, pars = NULL)

Arguments

mcmc_obj

MCMC object from tmbstan

tmb_sdrep

SD report fomr TMB

plot

Whether or not to plot outputs

pars

Parameters you want to plot out

Value

A list of plots with traditional MCMC diagnostics

Examples

if (FALSE) { # \dontrun{
diagnostic_plots <- mcmc_diag(mcmc_obj, tmb_sdrep, TRUE, pars = 'ln_M')
} # }