| plot.jags {bayesmix} | R Documentation |
Plots mcmc chains of a jags object.
## S3 method for class 'jags': plot(x, variables = NULL, trace = TRUE, density = TRUE, smooth = TRUE, bwf, num, xlim, auto.layout = TRUE, ask = interactive(), ...)
x |
a jags object. |
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 k. |
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 densityplot. |
Adapted from plot.mcmc.
Currently only implemented for jags objects with model of class
BMMmodel. Otherwise the default plot method for the results
of the jags object is called (plot.mcmc).
Bettina Gruen
plot.mcmc, BMMdiag,
BMMposteriori