pairs_admb: Examine MCMC output from an ADMB model.

Description Usage Arguments

Description

This function is useful for checking covergence and posterior properties.

Usage

1
2
pairs_admb(admb_mcmc, diag = c("acf", "hist", "trace"), acf.ylim = c(-1, 1),
  ymult = NULL, axis.col = gray(0.5), limits = NULL, ...)

Arguments

diag

What type of plot to include on the diagonal, options are 'acf' which plots the autocorrelation function acf, 'hist' shows marginal posterior histograms, and 'trace' the trace plot.

acf.ylim

If using the acf function on the diagonal, specify the y limit. The default is c(-1,1).

ymult

A vector of length ncol(admb_mcmc) specifying how much room to give when using the hist option for the diagonal. For use if the label is blocking part of the plot.

limits

A list containing the ranges for each parameter to use in plotting.

posterior

Dataframe containing the MCMC output, as read in using function


colemonnahan/admbtools documentation built on May 13, 2019, 8:50 p.m.