Learn R Programming

flexmix (version 1.1-0)

FLXfit: Fitter Function for FlexMix Models

Description

This is the basic computing engine called by flexmix, it should usually not be used directly.

Usage

FLXfit(k = NULL, cluster = NULL, model, control, group)

Arguments

k
Number of clusters (not needed if cluster is specified).
cluster
Initial cluster assignments of observations at the start of the EM algorithm (default is random assignment into k clusters).
model
List of FLXmodel objects.
control
Object of class FLXcontrol.
group
Factor with optional grouping of observations.

Value

  • Returns an object of class flexmix.

See Also

flexmix, flexmix-class