Determine posterior probabilities or cluster memberships for a fitted
flexmix or unfitted FLXdist model.
# S4 method for flexmix,missing
posterior(object, newdata, unscaled = FALSE, ...)
# S4 method for FLXdist,listOrdata.frame
posterior(object, newdata, unscaled = FALSE, ...)
# S4 method for flexmix,missing
clusters(object, newdata, ...)
# S4 method for FLXdist,ANY
clusters(object, newdata, ...)
An object of class "flexmix" or "FLXdist".
Data frame or list containing new data. If missing the posteriors of the original observations are returned.
Logical, if TRUE the component-specific
likelihoods are returned.
Currently not used.
Friedrich Leisch and Bettina Gruen