posterior: Determine Cluster Membership and Posterior Probabilities

Description Usage Arguments Author(s)

Description

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

Usage

1
2
3
4
5
6
7
8
## 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 documentation built on May 20, 2017, 2:53 a.m.

Search within the flexmix package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.