Skip to content

clustra

0.2.1

Clustering Longitudinal Trajectories

0packages depend
3.3Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by George OstrouchovFirst published 2021-11-224 releasesCRAN page ↗

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.

Install

Health

CRAN checks
13OK
Slowest check: 12.0 min · r-oldrel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
8
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • WARNING2026-06-08
    12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-30
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 1 earlier snapshots
  • ERROR2026-03-10
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 98 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
98%
Return-value docs
90%
References docs
4%

Downloads

3.3K
CRAN downloads in the past year
Rank #12,962 · ~9/day · ~275/mo
Daily download trend is not available in this view yet.
20730 days
77590 days
3.3K1 year
Compare downloads with other packages →
Also on179 r2u21 autocran

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5.0
Imports (8)
data.tablegraphicsgrDevicesmethodsmgcvMixSimparallelstats
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (7)
Maintainer (1)
Author, Maintainer
Authors (3)
Author, Maintainer
Contributors (2)
Contributor
Contributor
Copyright holders (1)
Funders (1)
Package Timeline

4 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.2.1Latest
    2024-01-10 · current release · diff ↗
  • 0.2.0
    2023-10-14 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 0.1.6
    2022-01-16 · diff ↗
  • 0.1.5
    2021-11-22
  • R
    R 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
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("clustra")
Ostrouchov, G., Oak Ridge National Laboratory, U.S. Department of Veteran's Affairs, Drew, S., Gagnon, D., Gerlovin, H., & Wei-Chen, C. (2024). clustra: Clustering Longitudinal Trajectories (Version 0.2.1) [Computer software]. https://doi.org/10.32614/CRAN.package.clustra

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for clustra version 0.2.1 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy