Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

posterior

Determine Cluster Membership and Posterior Probabilities


Description

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

Usage

## S4 method for signature 'flexmix,missing'
posterior(object, newdata, unscaled = FALSE, ...)
## S4 method for signature 'FLXdist,listOrdata.frame'
posterior(object, newdata, unscaled = FALSE, ...)
## S4 method for signature 'flexmix,missing'
clusters(object, newdata, ...)
## S4 method for signature 'FLXdist,ANY'
clusters(object, newdata, ...)

Arguments

object

An object of class "flexmix" or "FLXdist".

newdata

Data frame or list containing new data. If missing the posteriors of the original observations are returned.

unscaled

Logical, if TRUE the component-specific likelihoods are returned.

...

Currently not used.

Author(s)

Friedrich Leisch and Bettina Gruen


flexmix

Flexible Mixture Modeling

v2.3-17
GPL (>= 2)
Authors
Bettina Gruen [aut, cre] (<https://orcid.org/0000-0001-7265-4773>), Friedrich Leisch [aut] (<https://orcid.org/0000-0001-7278-1983>), Deepayan Sarkar [ctb] (<https://orcid.org/0000-0003-4107-1553>), Frederic Mortier [ctb], Nicolas Picard [ctb] (<https://orcid.org/0000-0001-5548-9171>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.