BMMdiag {bayesmix} | R Documentation |
Plot identifiability diagnostics for JAGSrun object
Description
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.
Usage
BMMdiag(object, which = 1:2, variables, ask = interactive(), fct1,
fct2, xlim, ylim, auto.layout = TRUE, caption = NULL,
main = "", ...)
Arguments
object |
a |
which |
if only one of the plots is required, specify its number. |
variables |
if |
ask |
prompt user before each page of plots |
fct1 |
string: name of transformation function for variable on x-axis. |
fct2 |
string: name of transformation function for variable on y-axis. |
xlim |
if no range for |
ylim |
if no range for |
auto.layout |
logical: if |
caption |
captions to appear above the plots. |
main |
title to each plot (in addition to the above 'caption'). |
... |
further graphical parameters (see 'plot.xy' and 'par') may also be supplied as arguments. |
Details
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.
Author(s)
Bettina Gruen