Fits an LCMM model
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.