Learn R Programming

psychomix (version 1.1-9)

mptmix-class: Class "mptmix"

Description

A fitted mptmix model.

Arguments

Slots

model:

A FLXMC object for an MPT mixture model

prior:

Numeric vector with prior probabilities of classes.

posterior:

Named list with elements scaled and unscaled, 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 FLXcomponent objects.

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, TRUE if EM algorithm converged.

concomitant:

Object of class "FLXP".

weights:

Optional weights of the observations.

flx.call:

Internal call to stepFlexmix

nobs:

Number of observations.

% \item{\code{labels}:}{Labels of objects compared.}

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.