Description Usage Arguments Value Author(s) See Also Examples
These methods use the Trellis framework as implemented in the
lattice
package to produce spaceconserving diagnostic plots
from "mcmc"
and "mcmc.list"
objects. The xyplot
methods produce trace plots. The densityplot
methods and
qqmath
methods produce empirical density and probability
plots. The levelplot
method depicts the correlation of the
series. The acfplot
methods plot the autocorrelation in the
series.
Not yet available in SPLUS.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97  ## S3 method for class 'mcmc'
densityplot(x, data,
outer, aspect = "xy",
default.scales = list(relation = "free"),
start = 1, thin = 1,
main = attr(x, "title"),
xlab = "",
plot.points = "rug",
...,
subset)
## S3 method for class 'mcmc.list'
densityplot(x, data,
outer = FALSE, groups = !outer,
aspect = "xy",
default.scales = list(relation = "free"),
start = 1, thin = 1,
main = attr(x, "title"),
xlab = "",
plot.points = "rug",
...,
subset)
## S3 method for class 'mcmc'
levelplot(x, data, main = attr(x, "title"),
start = 1, thin = 1,
...,
xlab = "", ylab = "",
cuts = 10, at,
col.regions = topo.colors(100),
subset)
## S3 method for class 'mcmc'
qqmath(x, data,
outer, aspect = "xy",
default.scales = list(y = list(relation = "free")),
prepanel = prepanel.qqmathline,
start = 1, thin = 1,
main = attr(x, "title"),
ylab = "",
...,
subset)
## S3 method for class 'mcmc.list'
qqmath(x, data,
outer = FALSE, groups = !outer,
aspect = "xy",
default.scales = list(y = list(relation = "free")),
prepanel = prepanel.qqmathline,
start = 1, thin = 1,
main = attr(x, "title"),
ylab = "",
...,
subset)
## S3 method for class 'mcmc'
xyplot(x, data,
outer, layout = c(1, nvar(x)),
default.scales = list(y = list(relation = "free")),
type = 'l',
start = 1, thin = 1,
xlab = "Iteration number",
ylab = "",
main = attr(x, "title"),
...,
subset)
## S3 method for class 'mcmc.list'
xyplot(x, data, outer = FALSE, groups = !outer,
aspect = "xy", layout = c(1, nvar(x)),
default.scales = list(y = list(relation = "free")),
type = 'l',
start = 1, thin = 1,
xlab = "Iteration number",
ylab = "",
main = attr(x, "title"),
...,
subset)
acfplot(x, data, ...)
## S3 method for class 'mcmc'
acfplot(x, data, outer,
prepanel, panel,
type = 'h',
aspect = "xy",
start = 1, thin = 1,
lag.max = NULL,
ylab = "Autocorrelation",
xlab = "Lag",
main = attr(x, "title"),
...,
subset)
## S3 method for class 'mcmc.list'
acfplot(x, data, outer = FALSE, groups = !outer,
prepanel, panel,
type = if (groups) 'b' else 'h',
aspect = "xy",
start = 1, thin = 1,
lag.max = NULL,
ylab = "Autocorrelation",
xlab = "Lag",
main = attr(x, "title"),
...,
subset)

x 
an 
data 
ignored, present for consistency with generic. 
outer 
for the 
groups 
for the 
aspect 
controls the physical aspect ratio of the panel. See

default.scales 
this parameter provides a reasonable default
value of the 
type 
a character vector that determines if lines, points,
etc. are drawn on the panel. The default values for the methods are
carefully chosen. See

thin 
an optional thinning interval that is applied before the plot is drawn. 
start 
an optional value for the starting point within the series. Values before the starting point are considered part of the "burnin" of the series and dropped. 
plot.points 
character argument giving the style in which
points are added to the plot. See

layout 
a methodspecific default for the 
xlab,ylab,main 
Used to provide default axis annotations and plot labels. 
cuts, at 
defines number and location of values where colors change 
col.regions 
color palette used 
lag.max 
maximum lag for which autocorrelation is computed. By
default, the value chosen by 
prepanel,panel 
suitable prepanel and panel functions for

... 
other arguments, passed to the lattice function.
Documentation of the corresponding generics in the 
subset 
indices of the subset of the series to plot. The
default is constructed from the 
An object of class "trellis"
. The relevant
update
method can be used to
update components of the object and the
print
method (usually called by
default) will plot it on an appropriate plotting device.
Deepayan Sarkar Deepayan.Sarkar@Rproject.org
Lattice
for a brief introduction to
lattice displays and links to further documentation.
1 2 3 4 5 6 7 8 9 10 11 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.