checkChain {glmmBUGS}R Documentation

Plot an MCMC run

Description

Makes time series plots of the parameters (not the random effects) of an MCMC run.

Usage

checkChain(chain, parameters=NULL, oneFigure=TRUE)

Arguments

chain

The result from restoreParams, or the sims.array componento f a bugs call.

parameters

Vector of character strings giving names of parameters to plot. Default is all parameters with names starting with either "beta", "intercept", or "SD".

oneFigure

if TRUE, use par(mfrow=c(a,b)) to put all plots on the same device. Otherwise create a new device for each plot.

Value

Plots are produced, nothing is returned

Author(s)

Patrick Brown

See Also

restoreParams, summaryChain

Examples


thechain = list(beta = array(1, c(10, 3,4), 
dimnames = list(NULL, NULL, paste("beta[", 1:4, "]", sep=""))),
 intercept = matrix(1, 10, 3))

checkChain(thechain)


[Package glmmBUGS version 2.4.3 Index]