A Framework for Clustering Longitudinal Data
Overview
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 https://github.com/MAnalytics/akmedoids.
Install
Health
NOTERd contentsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Rd files without \usage: ‘lcModel-class.Rd’ \arguments should not be documented without \usage.
- NOTE11 OK, 2 NOTE2026-09-13
- ERROR9 OK, 2 NOTE, 2 ERROR2026-09-12
- NOTE12 OK, 1 NOTE2026-07-11
- OK12 OK2026-04-25
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 171 (29 internal)includes a package overview page
- Examples that run
- 94%91 run in a plain check · 3 only when donttest examples are enabled (R CMD check --as-cran) · 3 never run
- Exported functions with examples
- 66%
- Documented parameters
- 98%
- Return-value docs
- 62%
- Help pages citing references
- 12% with a bibliography file
Downloads
Repository
- PRs merged (all time)
- 91%
- Median days to close, 50 most recently updated closed issues
- 4
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
13 development-tooling and community-health practices detected across 7 families in the upstream repository
Checks run against github.com/niekdt/latrend on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-09-15 · The repository has a site deploy workflow
Show all practicesHide 3 practices
Dependencies
Installing latrend adds 36 packages (18 with compiled code, 26 MB of source tarballs). Heaviest: data.table 5.7 MB, bslib 5.6 MB, sass 2.9 MB.
Code & Tests
Datasets
People & History
Show 3 peopleHide 3 people
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- unarchivedReturned to CRAN2026-02-13
- archivedRemoved from CRAN2026-02-13issues were not corrected in time
- 1.6.3Latest
- 1.6.22025-07-04 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 1.6.12024-05-15 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 1.6.0
- RR 4.3.0 released · 2023-04-21
- 1.5.12023-03-18 · diff ↗
- 1.5.0
- 1.4.32022-10-26 · diff ↗
- unarchivedReturned to CRAN2022-08-15
- 1.4.22022-08-15 · diff ↗
- archivedRemoved from CRAN2022-08-11issues were not corrected in time
Show 13 earlier eventsHide 13 earlier events
- unarchivedReturned to CRAN2022-07-04
- 1.4.12022-07-04 · diff ↗ ·
removed 3 exports
is.lcModelCustom, lcMethodCustom, lcModelCustomadded 1 export
lcMethodFunction - archivedRemoved from CRAN2022-06-28check problems were not corrected in time
- unarchivedReturned to CRAN2022-05-26
- 1.3.02022-05-26 · diff ↗ ·
removed 3 exports
dcastRepeatedMeasures, lcMethodLongclust, meltRepeatedMeasuresadded 10 exports
are_trajectories_equal_length, are_trajectories_length, have_trajectories_noNA, is_data, no_empty_trajectories, no_trajectories_allNA, no_trajectories_duplicate_time, test.latrend, tsframe, tsmatrix - archivedRemoved from CRAN2022-05-22check issues were not corrected in time
- RR 4.2.0 released · 2022-04-22
- 1.2.12022-01-06 · diff ↗ ·
removed 3 exports
lcMethod, lcMethod.call, transformLatrendDataadded 7 exports
APPA, OCC, fittedTrajectories, getArgumentDefaults, getArgumentExclusions, meanNA, plotFittedTrajectories - RR 4.1.0 released · 2021-05-18
- 1.1.22021-04-14 · diff ↗
- 1.1.02021-03-05 · diff ↗ ·
removed 2 exports
lcMethodAKMedoids, lcMethodTwoStepadded 2 exports
lcMethodAkmedoids, lcMethodFeature - 1.0.12020-11-18
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2020-11-18
- Total releases
- 14 / 6 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 3.6.0
- Bundled data
- 132 KB / 3 files
- Download size
- 629 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("latrend")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
The repository also keeps a CITATION.cff.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.