powered by
Specify mixed mixture regression model using mixtools
lcMethodMixtoolsGMM( formula, time = getOption("latrend.time"), id = getOption("latrend.id"), nClusters = 2, ... )
Formula, including a random effects component for the trajectory. See lme4::lmer formula syntax.
The name of the time variable..
The name of the trajectory identifier variable.
The number of clusters.
Arguments passed to mixtools::regmixEM.mixed. The following arguments are ignored: data, y, x, w, k, addintercept.fixed, verb.
benaglia2009mixtoolslatrend
Other lcMethod implementations: lcMethod-class, lcMethodAkmedoids, lcMethodCrimCV, lcMethodCustom, lcMethodDtwclust, lcMethodFeature, lcMethodFunFEM, lcMethodGCKM, lcMethodKML, lcMethodLMKM, lcMethodLcmmGBTM, lcMethodLcmmGMM, lcMethodLongclust, lcMethodMclustLLPA, lcMethodMixAK_GLMM, lcMethodMixtoolsNPRM, lcMethodRandom, lcMethodStratify
lcMethod-class
lcMethodAkmedoids
lcMethodCrimCV
lcMethodCustom
lcMethodDtwclust
lcMethodFeature
lcMethodFunFEM
lcMethodGCKM
lcMethodKML
lcMethodLMKM
lcMethodLcmmGBTM
lcMethodLcmmGMM
lcMethodLongclust
lcMethodMclustLLPA
lcMethodMixAK_GLMM
lcMethodMixtoolsNPRM
lcMethodRandom
lcMethodStratify
# NOT RUN { library(mixtools) data(latrendData) method <- lcMethodMixtoolsGMM( formula = Y ~ Time + (1 | Id), id = "Id", time = "Time", nClusters = 3, arb.R = FALSE) # }
Run the code above in your browser using DataLab