This page provides an overview of the currently supported methods for longitudinal clustering. For general recommendations on which method to apply to your dataset, see here.

Supported methods

MethodDescriptionSource
lcMethodAkmedoidsAnchored k-medoids adepeju2020akmedoidslatrendakmedoids
lcMethodCrimCVGroup-based trajectory modeling of count data nielsen2018crimcvlatrendcrimCV
lcMethodDtwclustMethods for distance-based clustering, including dynamic time warping sardaespinosa2019timelatrenddtwclust
lcMethodFeatureFeature-based clustering
lcMethodFlexmixInterface to the FlexMix framework gruen2008flexmixlatrendflexmix
lcMethodFlexmixGBTMGroup-based trajectory modelingflexmix
lcMethodFunFEMModel-based clustering using funFEM bouveyron2015funfemlatrendfunFEM
lcMethodGCKMGrowth-curve modeling and k-meanslme4
lcMethodKMLLongitudinal k-means genolini2015kmllatrendkml
lcMethodLcmmGBTMGroup-based trajectory modeling proustlima2017estimationlatrendlcmm
lcMethodLcmmGMMGrowth mixture modeling proustlima2017estimationlatrendlcmm
lcMethodLMKMFeature-based clustering using linear regression and k-means
lcMethodMclustLLPALongitudinal latent profile analysis scrucca2016mclustlatrendmclust
lcMethodMixAK_GLMMMixture of generalized linear mixed modelsmixAK
lcMethodMixtoolsGMMGrowth mixture modelingmixtools
lcMethodMixtoolsNPRMNon-parametric repeated measures clustering benaglia2009mixtoolslatrendmixtools
lcMethodMixTVEMMixture of time-varying effects models
lcMethodRandomRandom partitioning
lcMethodStratifyStratification rule

In addition, the functionality of any method can be extended via meta methods. This is used for extending the estimation procedure of a method, such as repeated fitting and selecting the best result, or fitting until convergence.

It is strongly encouraged to evaluate and compare several candidate methods in order to identify the most suitable method.

References

Examples

data(latrendData)
method <- lcMethodLMKM(Y ~ Time, id = "Id", time = "Time")
model <- latrend(method, data = latrendData)