posterior {flexmix}R Documentation

Determine cluster membership and posterior probabilities

Description

Determine posterior probabilities for a fitted flexmix or unfitted FLXdist model.

Usage

## S4 method for signature 'flexmix, missing':
posterior(object, newdata, ...)
## S4 method for signature 'FLXdist, listOrdata.frame':
posterior(object, newdata, ...)
## S4 method for signature 'flexmix, missing':
cluster(object)
## S4 method for signature 'flexmix, ANY':
cluster(object, newdata, ...)

Arguments

object An object of class "flexmix" or "FLXdist".
newdata Dataframe or list containing new data. If missing the posteriors of the original observations are returned.
... Currently not used.

Author(s)

Bettina Gruen and Friedrich Leisch


[Package flexmix version 2.0-0 Index]