Learn R Programming

genMCMCDiag (version 0.2.3)

straceplot: Generate a traceplot of draws from a multi-chain MCMC

Description

Generate a traceplot of draws from a multi-chain MCMC

Usage

straceplot(mhDraws, method = NULL, ...)

Value

ggplot2 plot object showing traceplot

Arguments

mhDraws

List of data.frames with two columns. Each data.frame represents a single chain. Column names should be val.1 (for values) and t (for chain iteration).

method

Character string - Name of method used to generate traceplot. Is used to generate the title of the traceplot.

...

Catches unused arguments