plot.plMCMC: Plot paths of copies of Markov chains

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

This function plots 2d-projections of the paths of i.i.d. copies of Markov chains output by an MCMC algorithm and stored in an object of class plMCMC (for parallel MCMC) such as the one returned by, e.g., MCMCcopies or the multicore version MCMCcopies.mc.

Usage

1
2
## S3 method for class 'plMCMC'
plot(x, xax = 1, yax = 2, title = NULL, cname = NULL, ...)

Arguments

x

An object of class plMCMC, such as output from MCMCcopies.

xax

Coordinate for the horizontal axis.

yax

Coordinate for the vertical axis.

title

The title; if NULL, then a default title is displayed.

cname

Coordinate base name; "var" is the default, so that coordinates are named "var1", "var2", and so on.

...

Further parameters except pch which is already used, passed to plot.

Details

This function is currently limited to a 2D projection path of all the i.i.d. chains for the two selected coordinates. The copies of the Markov chain must be in the 3-dimensional array s$Ptheta.

Value

The graphic to plot.

Author(s)

Didier Chauveau.

References

See Also

MCMCcopies, MCMCcopies.mc, MCMCcopies.cl

Examples

1
## See MCMCcopie Example

EntropyMCMC documentation built on May 2, 2019, 6:43 a.m.