Learn R Programming

flexmix (version 1.1-2)

posterior: Determine posterior probabilities

Description

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

Usage

## S3 method for class 'flexmix,missing':
posterior(object, newdata, ...)
## S3 method for class 'FLXdist,data.frame':
posterior(object, newdata, ...)

Arguments

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