Learn R Programming

plotMCMC (version 2.0.1)

plotSplom: Plot MCMC Scatterplot Matrix

Description

Plot scatterplots of multiple Markov chain Monte Carlo chains. This is a diagnostic plot for deciding whether parameters are confounded. When parameter estimates are highly dependent on each other, it may undermine conclusions based on MCMC results of that model.

Usage

plotSplom(mcmc, axes=FALSE, between=0, div=1, log=FALSE, base=10, …)

Arguments

mcmc

MCMC chains as a data frame or mcmc object.

axes

whether axis values should be plotted.

between

space between panels.

div

denominator to shorten values on the y axis.

log

whether values should be log-transformed.

base

logarithm base.

passed to pairs.

Value

Null, but a plot is drawn on the current graphics device.

See Also

pairs is the underlying drawing function, and splom is a similar trellis plot.

plotTrace, plotAuto, plotCumu, and plotSplom are diagnostic plots.

plotDens and plotQuant are posterior plots.

plotMCMC-package gives an overview of the package.

Examples

Run this code
# NOT RUN {
plotSplom(xpar, pch=".")
plotSplom(xpro, axes=TRUE, between=1, div=1000, main="Future biomass",
          cex.labels=1.5, pch=".", cex=3)
# }

Run the code above in your browser using DataLab