Given a JAGSrun
object with model of class BMMmodel
the
aposteriori probabilities are determined. If plot=TRUE
, the
resulting object of class BMMposteriori
is plotted.
BMMposteriori(object, class, caption = NULL, plot = TRUE,
auto.layout = TRUE, ...)
There is a BMMposteriori
object returned which is a list
including the following components
vector of unique data points.
a matrix including the posteriori probability of the data points for each class.
a JAGSrun
object with model of class BMMmodel
.
a vector of integers indicating for which classes the posterior probabilities shall be plotted. The default is all.
captions to appear above the plots.
logical indicating if a plot shall be made.
logical: if TRUE
puts all classes in the
posterior probabilities plot on the same figure.
further graphical parameters may also be supplied as arguments.
Bettina Gruen
Given a JAGSrun
object with model of class BMMmodel
the a
posteriori probabilities are calculated for the unique data points
with respect to the components specified by class
.
plot.BMMposteriori