Learn R Programming

AntMAN (version 1.1.0)

AM_plot_traces: Plot traces of variables from an AM_mcmc_output object

Description

Given an AM_mcmc_output object, AM_plot_traces visualises the traceplots of the specified variables involved in the MCMC inference. AM_plot_traces is built upon bayesplot's mcmc_trace bayesplotAntMAN.

Usage

AM_plot_traces(x, tags = NULL, title = "MCMC Results")

Arguments

x

An AM_mcmc_output fit object, produced by calling AM_mcmc_fit.

tags

A list of variables to consider. This function only produces meaningful plots for variables that have fixed dimension across the draws. If not specified, plots pertaining to M and K will be produced.

title

Title for the plot

Value

No return value. Called for side effects.