Learn R Programming

bayesSurv (version 2.6)

traceplot2: Trace plot of MCMC output.

Description

Displays a plot of iterations vs. sampled values for each variable in the chain, with a separate plot per variable.

This is slightly modified version of traceplot function of a coda package to conform to my personal preferences.

Usage

traceplot2(x, chains, bty = "n", main, xlab, ...)

Arguments

x
an mcmc or mcmc.list object.
chains
indeces of chains from the object that are to be plotted.
bty, main, xlab, ...
further arguments passed to the plot.default function.