| FLXM-class {flexmix} | R Documentation |
Class "FLXM"
Description
FlexMix model specification.
Details
The most generic class is the virtual class FLXM. The classes
FLXMC for model-based clustering and FLXMR for
clusterwise regression extend the virtual class. Both have further
more specific model classes which inherit from them.
Model class FLXMCsparse allows for model-based clustering with
a sparse matrix as data input.
Objects from the Class
Objects can be created by calls of the form new("FLXM", ...),
typically inside driver functions like FLXMRglm or
FLXMCmvnorm.
Slots
fit:Function returning an
FLXcomponentobject.defineComponent:Function or expression to determine the
FLXcomponentobject given the parameters.weighted:Logical indicating whether
fitcan do weighted likelihood maximization.name:Character string used in print methods.
formula:Formula describing the model.
fullformula:Resulting formula from updating the model formula with the formula specified in the call to
flexmix.x:Model matrix.
y:Model response.
terms,xlevels,contrasts:Additional information for model matrix.
preproc.x:Function for preprocessing matrix
xbefore the EM algorithm starts, by default the identity function.preproc.y:Function for preprocessing matrix
ybefore the EM algorithm starts, by default the identity function.
Author(s)
Friedrich Leisch and Bettina Gruen