| mptmix-class {psychomix} | R Documentation |
Class "mptmix"
Description
A fitted mptmix model.
Slots
model:A
FLXMCobject for an MPT mixture modelprior:Numeric vector with prior probabilities of classes.
posterior:Named list with elements
scaledandunscaled, both matrices with one row per observation and one column per class.iter:Number of EM iterations.
k:Number of classes after EM.
k0:Number of classes at start of EM.
cluster:Class assignments of observations.
size:Class sizes.
logLik:Log-likelihood at EM convergence.
df:Total number of parameters of the model.
components:List describing the fitted components using
FLXcomponentobjects.formula:Object of class
"formula".control:Object of class
"FLXcontrol".call:The function call used to create the object.
group:Object of class
"factor".converged:Logical,
TRUEif EM algorithm converged.concomitant:Object of class
"FLXP".weights:Optional weights of the observations.
flx.call:Internal call to
stepFlexmixnobs:Number of observations.
Extends
Class flexmix, directly.
Accessor Functions
The following functions should be used for accessing the corresponding slots:
clusters:Cluster assignments of observations.
posterior:A matrix of posterior probabilities for each observation.