FLXdist-class {flexmix} | R Documentation |
Class "FLXdist"
Description
Objects of class FLXdist
represent unfitted finite mixture
models.
Usage
## S4 method for signature 'FLXdist'
parameters(object, component = NULL, model = NULL, which = c("model",
"concomitant"), simplify = TRUE, drop = TRUE)
## S4 method for signature 'FLXdist'
predict(object, newdata = list(), aggregate = FALSE, ...)
Arguments
object |
An object of class "FLXdist". |
component |
Number of component(s), if |
model |
Number of model(s), if |
which |
Specifies if the parameters of the component specific model or the concomitant variable model are returned. |
simplify |
Logical, if |
drop |
Logical, if |
newdata |
Dataframe containing new data. |
aggregate |
Logical, if |
... |
Passed to the method of the model class. |
Slots
- model
List of
FLXM
objects.- prior
Numeric vector with prior probabilities of clusters.
- components
List describing the components using
FLXcomponent
objects.concomitant
:Object of class
"FLXP"
.- formula
Object of class
"formula"
.- call
The function call used to create the object.
- k
Number of clusters.
Accessor Functions
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
Author(s)
Friedrich Leisch and Bettina Gruen
See Also
FLXdist