FLXM-class | R Documentation |
FlexMix model specification.
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 can be created by calls of the form new("FLXM", ...)
,
typically inside driver functions like FLXMRglm
or
FLXMCmvnorm
.
fit
:Function returning an FLXcomponent
object.
defineComponent
:Function or expression to determine the
FLXcomponent
object given the parameters.
weighted
:Logical indicating whether fit
can 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 x
before the EM algorithm starts, by default the identity function.
preproc.y
:Function for preprocessing matrix y
before the EM algorithm starts, by default the identity function.
Friedrich Leisch and Bettina Gruen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.