This is the main driver for FlexMix interfacing the glm
family of models.
FLXMRglm(formula = . ~ .,
family = c("gaussian", "binomial", "poisson", "Gamma"),
offset = NULL)
Returns an object of class FLXMRglm
inheriting from FLXMR
.
A formula which is interpreted relative to the formula
specified in the call to flexmix
using
update.formula
. Default is to use the original
flexmix
model
formula.
A character string naming a glm
family function.
This can be used to specify an a priori known component to be included in the linear predictor during fitting.
Friedrich Leisch and Bettina Gruen
See flexmix
for examples.
Friedrich Leisch. FlexMix: A general framework for finite mixture models and latent class regression in R. Journal of Statistical Software, 11(8), 2004. doi:10.18637/jss.v011.i08
flexmix
, glm