Clustering Longitudinal Trajectories
Overview
Clusters longitudinal trajectories over time (can be unequally spaced, unequal length time series and/or partially overlapping series) on a common time axis. Performs k-means clustering on a single continuous variable measured over time, where each mean is defined by a thin plate spline fit to all points in a cluster. Distance is MSE across trajectory points to cluster spline. Provides graphs of derived cluster splines, silhouette plots, and Adjusted Rand Index evaluations of the number of clusters. Scales well to large data with multicore parallelism available to speed computation.
- Fixed
difftimebug for old release R - Updated maintainer email
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- WARNING12 OK, 1 WARNING2026-06-08
- OK14 OK2026-03-30
Show 1 earlier changeHide 1 earlier change
- ERROR13 OK, 1 ERROR2026-03-10
Documentation
- Help pages
- 24includes a package overview page
- Examples that run
- 100%2 run in a plain check
- Exported functions with examples
- 20%
- Documented parameters
- 98%
- Return-value docs
- 90%
- Help pages citing references
- 4%
Downloads
Dependencies
Installing clustra adds 2 packages (2 with compiled code, 5.7 MB of source tarballs). Heaviest: data.table 5.7 MB, MixSim 42 KB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 0.2.1Latest
- 0.2.02023-10-14 · diff ↗ ·
removed 1 export
start_groupsadded 4 exports
deltimeT, plot_sample, plot_silhouette, plot_smooths - RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 0.1.62022-01-16 · diff ↗
- 0.1.52021-11-22
- RR 4.1.0 released · 2021-05-18
Package metadata
- First published
- 2021-11-22
- Total releases
- 4 / 5 yrs
- License
- BSD 2-clause License + file LICENSE
- Minimum R
- ≥ 3.5.0
- Bundled data
- 1.4 MB / 1 file
- Download size
- 2.8 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("clustra")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
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.