Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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 class '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(s)

Martyn Plummer

See Also


coda

Output Analysis and Diagnostics for MCMC

v0.19-4
GPL (>= 2)
Authors
Martyn Plummer [aut, cre, trl], Nicky Best [aut], Kate Cowles [aut], Karen Vines [aut], Deepayan Sarkar [aut], Douglas Bates [aut], Russell Almond [aut], Arni Magnusson [aut]
Initial release
2020-09-30

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.