traceplot2 {bayesSurv}R Documentation

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.

Value

No return value.

Author(s)

Arnošt Komárek arnost.komarek@mff.cuni.cz


[Package bayesSurv version 3.7 Index]