Constructs objects of class FLXdist
which represent unfitted finite mixture
models.
FLXdist(formula, k = NULL, model = FLXMRglm(), components,
concomitant = FLXPconstant())
Returns an object of class FLXdist
.
A symbolic description of the model to be fit. The
general form is ~x|g
where x
is the set of predictors
and g
an optional grouping factor for repeated measurements.
Integer specifying the number of cluster or a numeric vector of length equal to the length of components, specifying the prior probabilities of clusters.
Object of class FLXM
or a list of FLXM
objects. Default is the object returned by calling
FLXMRglm()
.
A list of length equal to the number of components containing a list of length equal to the number of models which again contains a list of named elements for defining the parameters of the component-specific model.
Object of class FLXconcomitant
specifying
the model for concomitant variables.
Bettina Gruen
FLXdist-class