Skip to contents

Fits an LCMM model

Usage

fit_lcmm_(formula, data, mixture, subject, ng, ...)

Arguments

formula

Two-sided linear formula for the fixed effects in the LCMM.

data

Data frame with data

mixture

One-sided formula specifying the class-specific fixed effects.

subject

Name of the column indicating individual ids in data

ng

Number of clusters in the LCMM model

...

Additional arguments passed to the hlme function.

Value

An object of class hlme

See also