latrend: A Framework for Clustering Longitudinal Data

A framework for clustering longitudinal datasets in a standardized way. The package provides an interface to existing R packages for clustering longitudinal univariate trajectories, facilitating reproducible and transparent analyses. Additionally, standard tools are provided to support cluster analyses, including repeated estimation, model validation, and model assessment. The interface enables users to compare results between methods, and to implement and evaluate new methods with ease. The 'akmedoids' package is available from <>.

Version: 1.6.1
Depends: R (≥ 3.6.0)
Imports: stats, methods, Rdpack, R.utils, assertthat (≥ 0.2.1), foreach, data.table (≥ 1.15.4), magrittr, matrixStats, rmarkdown (≥ 1.18), rlang
Suggests: testthat (≥ 3.0.0), roxygen2 (≥ 7.1.0), knitr (≥ 1.24), rcmdcheck, pkgdown, devtools, cluster, evaluate, lme4, covr, lintr, tinytex, longitudinalData (≥ 2.4.1), kml (≥ 2.4.1), lcmm (≥ 1.9.3), mixtools, flexmix, fda, funFEM, gridExtra, igraph, crimCV, dtwclust, mixAK, mclust, mclustcomp, clValid, psych, qqplotr, doParallel, simTool, dplyr, ggplot2, caret, tibble, clusterCrit (≥ 1.3.0)
Published: 2024-05-15
DOI: 10.32614/CRAN.package.latrend
Author: Niek Den Teuling ORCID iD [aut, cre], Steffen Pauws [ctb], Edwin van den Heuvel [ctb], Koninklijke Philips N.V. [cph]
Maintainer: Niek Den Teuling <niek.den.teuling at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: no
Language: en-US
CRAN checks: latrend results


Reference manual: latrend.pdf
Vignettes: Demonstration of latrend package
Implementing new models
Conducting a simulation study


Package source: latrend_1.6.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): latrend_1.6.1.tgz, r-oldrel (arm64): latrend_1.6.1.tgz, r-release (x86_64): latrend_1.6.1.tgz, r-oldrel (x86_64): latrend_1.6.1.tgz
Old sources: latrend archive


Please use the canonical form to link to this page.