BMMposteriori {bayesmix} | R Documentation |
Given a jags
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, ...)
object |
a |
class |
a vector of integers indicating for which classes the posterior probabilities shall be plotted. The default is all. |
caption |
captions to appear above the plots. |
plot |
logical indicating if a plot shall be made. |
auto.layout |
logical: if |
... |
further graphical parameters may also be supplied as arguments. |
Given a jags
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
.
There is a BMMposteriori
object returned which is a list
including the following components
data |
vector of unique data points. |
post |
a matrix including the posteriori probability of the data points for each class. |
Bettina Gruen