Longitudinal clustering in kinesiology 2: the longclust package in R

Authors

DOI:

https://doi.org/10.63750/rr27aa25

Keywords:

longitudinal clustering, multivariate repeated measures, cluster analysis, longitudinal model-based clustering, R

Abstract

High variation is common in longitudinal kinesiology studies, as participants may respond differently to interventions. In the previous article, implementation of longitudinal k-means in R is used in tandem with repeated measures (multivariate) analysis of variance to understand overall change, and to discover hidden trajectories. The purpose of this article is to demonstrate how to analyze data using model-based clustering. The same synthetic dataset is analyzed,  using the longclust package in R. Comparison with the kml and kml3d packages is discussed.

Downloads

Download data is not yet available.

Author Biography

  • Keston Lindsay, University of Colorado Colorado Springs

    Helen and Arthur Johnson Beth-El College of Nursing and Health Sciences, University of Colorado Colorado Springs, Colorado Springs, USA

References

Biernacki, C., Celeux, G., & Govaert, G. (2000). Assessing a mixture model for clustering with the integrated completed likelihood. IEEE Transactions on Pattern Analysis and Machine Intelligence, 22(7), 719–725. https://doi.org/10.1109/34.865189

Genolini, C., Alacoque, X., Sentenac, M., & Arnaud, C. (2015). kml and kml3d: R packages to cluster longitudinal data. Journal of Statistical Software, 65(4), 1–34. https://doi.org/10.18637/jss.v065.i04

Hubal, M. J., Gordish-Dressman, H., Thompson, P. D., Price, T. B., Hoffman, E. P., Angelopoulos, T. J., Gordon, P. M., Moyna, N. M., Pescatello, L. S., Visich, P. S., Zoeller, R. F., Seip, R. L., & Clarkson, P. M. (2005). Variability in muscle size and strength gain after unilateral resistance training. Medicine and Science in Sports and Exercise, 37(6), 964–972. https://doi.org/10.1249/01.mss.0000170469.90461.5f

McNicholas, P. D., Jampani, K. R., & Subedi, S. (2023). longclust: Model-based clustering and classification for longitudinal data (Version 1.5) [Computer software]. CRAN. https://CRAN.R-project.org/package=longclust

McNicholas, P. D., & Murphy, T. B. (2010). Model-based clustering of longitudinal data. Canadian Journal of Statistics, 38(1), 153–168. https://doi.org/10.1002/cjs.10047

McNicholas, P. D., & Subedi, S. (2012). Clustering gene expression time course data using mixtures of multivariate t-distributions. Journal of Statistical Planning and Inference, 142(5), 1114–1127. https://doi.org/10.1016/j.jspi.2011.11.026

Ojeda-Aravena, A., Herrera-Valenzuela, T., Valdés-Badilla, P., Cancino-López, J., Zapata-Bastias, J., & García-García, J. M. (2021). Inter-individual variability of a high-intensity interval training with specific techniques vs. repeated sprints program in sport-related fitness of Taekwondo athletes. Frontiers in Physiology, 12, Article 766153. https://doi.org/10.3389/fphys.2021.766153

OpenAI. (2025). ChatGPT [Large language model]. https://chat.openai.com/

Pourahmadi, M. (1999). Joint mean-covariance models with applications to longitudinal data: Unconstrained parameterisation. Biometrika, 86(3), 677–690. https://doi.org/10.1093/biomet/86.3.677

R Core Team. (2025). R: A language and environment for statistical computing [Computer software]. R Foundation for Statistical Computing. https://www.r-project.org/

Schauberger, P., Walker, A., Braglia, L., Sturm, J., Garbuszus, J. M., Barbone, J. M., Zimmermann, D., & Kainhofer, R. (2025). openxlsx: Read, write and edit xlsx files (Version 4.2.8) [Computer software]. CRAN. https://CRAN.R-project.org/package=openxlsx

Schwarz, G. (1978). Estimating the dimension of a model. The Annals of Statistics, 6(2), 461–464. https://doi.org/10.1214/aos/1176344136

Wickham, H., Miller, E., & Smith, D. (2025). haven: Import and export 'SPSS', 'Stata' and 'SAS' files (Version 2.5.5.9000) [Computer software]. GitHub. https://github.com/tidyverse/haven

Downloads

Published

2026-03-31

Issue

Section

Research Articles

How to Cite

Lindsay, K. (2026). Longitudinal clustering in kinesiology 2: the longclust package in R. Global Journal of Sport and Exercise Science, 2(1), 7-19. https://doi.org/10.63750/rr27aa25

Share

Similar Articles

1-10 of 30

You may also start an advanced similarity search for this article.