| plot.JAGSrun | R Documentation |
Plots mcmc chains of a JAGSrun object.
## S3 method for class 'JAGSrun'
plot(x, variables = NULL, trace = TRUE, density = TRUE,
smooth = TRUE, bwf, num, xlim, auto.layout = TRUE,
ask = interactive(), ...)
x |
a |
variables |
names of variables which shall be plotted. Default
are all names of results except those with a column dimension larger
than the number of classes |
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. |
num |
if not all classes of a variable shall be plotted, a subset can be specified. |
xlim |
if not specified, the range of each variable over all classes is taken as default. |
auto.layout |
automatically generate output format. |
ask |
prompt user before each page of plots. |
... |
further arguments for |
Adapted from plot.mcmc.
Currently only implemented for JAGSrun objects with model of class
BMMmodel. Otherwise the default plot method for the results
of the JAGSrun object is called (plot.mcmc).
Bettina Gruen
plot.mcmc, BMMdiag,
BMMposteriori
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.