Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

FLXdist

Finite Mixtures of Distributions


Description

Constructs objects of class FLXdist which represent unfitted finite mixture models.

Usage

FLXdist(formula, k = NULL, model = FLXMRglm(), components,
         concomitant = FLXPconstant())

Arguments

formula

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.

k

Integer specifying the number of cluster or a numeric vector of length equal to the length of components, specifying the prior probabilities of clusters.

model

Object of class FLXM or a list of FLXM objects. Default is the object returned by calling FLXMRglm().

components

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.

concomitant

Object of class FLXconcomitant specifying the model for concomitant variables.

Value

Returns an object of class FLXdist.

Author(s)

Bettina Gruen

See Also

FLXdist-class


flexmix

Flexible Mixture Modeling

v2.3-17
GPL (>= 2)
Authors
Bettina Gruen [aut, cre] (<https://orcid.org/0000-0001-7265-4773>), Friedrich Leisch [aut] (<https://orcid.org/0000-0001-7278-1983>), Deepayan Sarkar [ctb] (<https://orcid.org/0000-0003-4107-1553>), Frederic Mortier [ctb], Nicolas Picard [ctb] (<https://orcid.org/0000-0001-5548-9171>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.