Objects of class FLXdist represent unfitted finite mixture
models.
# S4 method for FLXdist
parameters(object, component = NULL, model = NULL, which = c("model",
"concomitant"), simplify = TRUE, drop = TRUE)
# S4 method for FLXdist
predict(object, newdata = list(), aggregate = FALSE, ...)
An object of class "FLXdist".
Number of component(s), if NULL all components
are returned.
Number of model(s), if NULL all models are
returned.
Specifies if the parameters of the component specific model or the concomitant variable model are returned.
Logical, if TRUE the returned values are
simplified to a vector or matrix if possible.
Logical, if TRUE the function tries to simplify the
return object by omitting lists of length one.
Dataframe containing new data.
Logical, if TRUE then the predicted values for
each model aggregated over the components are returned.
Passed to the method of the model class.
List of FLXM objects.
Numeric vector with prior probabilities of clusters.
List describing the components using
FLXcomponent objects.
concomitant:Object of class "FLXP".
Object of class "formula".
The function call used to create the object.
Number of clusters.
The following functions should be used for accessing the corresponding slots:
parameters:The parameters for each model and component, return value depends on the model.
prior:Numeric vector of prior class probabilities/component weights
Friedrich Leisch and Bettina Gruen
FLXdist