Learn R Programming

coda (version 0.19-4.1)

plot.mcmc: Summary plots of mcmc objects

Description

plot.mcmc summarizes an mcmc or mcmc.list object with a trace of the sampled output and a density estimate for each variable in the chain.

Usage

# S3 method for mcmc
plot(x, trace = TRUE, density = TRUE, smooth = FALSE, bwf,
	auto.layout = TRUE, ask = dev.interactive(), ...)

Arguments

x

an object of class mcmc or mcmc.list

trace

Plot trace of each variable

density

Plot density estimate of each variable

smooth

Draw a smooth line through trace plots

bwf

Bandwidth function for density plots

auto.layout

Automatically generate output format

ask

Prompt user before each page of plots

...

Further arguments

Author

Martyn Plummer

See Also

densplot, traceplot.