posterior | R Documentation |
Determine posterior probabilities or cluster memberships for a fitted
flexmix
or unfitted FLXdist
model.
## 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, ...)
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 |
... |
Currently not used. |
Friedrich Leisch and Bettina Gruen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.