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

FLXMRlmmc

FlexMix Interface to Linear Mixed Models with Left-Censoring


Description

This is a driver which allows fitting of mixtures of linear models with random effects and left-censored observations.

Usage

FLXMRlmmc(formula = . ~ ., random, censored, varFix, eps = 10^-6, ...)

Arguments

formula

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.

random

A formula for specifying the random effects. If missing no random effects are fitted.

varFix

If random effects are specified a named logical vector of length 2 indicating if the variance of the random effects and the residuals are fixed over the components. Otherwise a logical indicating if the variance of the residuals are fixed over the components.

censored

A formula for specifying the censoring variable.

eps

Observations with an a-posteriori probability smaller or equal to eps are omitted in the M-step.

...

Additional arguments to be passed to lm.wfit.

Value

Returns an object of class FLXMRlmmc, FLXMRlmmcfix, FLXMRlmc or FLXMRlmcfix.

Author(s)

Bettina Gruen


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.