Two different plots are currently provided: a plot of different variables against each other and a plot of the same variable against its values in the other classes.
BMMdiag(object, which = 1:2, variables, ask = interactive(), fct1,
fct2, xlim, ylim, auto.layout = TRUE, caption = NULL,
main = "", ...)
a JAGSrun object with model of class BMMmodel.
if only one of the plots is required, specify its number.
if variables is missing, the names are taken
from the JAGSrun object.
prompt user before each page of plots
string: name of transformation function for variable on x-axis.
string: name of transformation function for variable on y-axis.
if no range for xlim is specified, a sensible range is
taken.
if no range for ylim is specified, a sensible range is
taken.
logical: if TRUE puts each of the two
different plots on one figure.
captions to appear above the plots.
title to each plot (in addition to the above 'caption').
further graphical parameters (see 'plot.xy' and 'par') may also be supplied as arguments.
Bettina Gruen
The plots help determining which variable will induce a unique labelling when taken for ordering of the segments and indicate if the model is overfitted by specifying too many segments.