Skip to content

clustra

0.2.1Package record

Clustering Longitudinal Trajectories

0packages depend
3.4Kdownloads / year
–test coverage
13/13flavors OK

Overview

About
Maintained by George OstrouchovCRAN page ↗Declared funder: U.S. Department of Veteran's Affairs

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.

Changes in 0.2.1
  • Fixed difftime bug for old release R
  • Updated maintainer email

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 12.0 min · r-oldrel-windows-x86_64
Status changes
  • 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
Advisories

none known

Documentation

In release 0.2.1
READMEYes · 98 wordsVignettesYes · 2 · dynamicNEWSYes · 100% structured · mentions 0.2.1Citation fileNoWebsitenot declared in DESCRIPTION
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

3.4K
CRAN downloads in the past year
Rank #12,096 · ~9/day · ~286/mo
Daily download trend is not available in this view yet.
31730 days
91690 days
3.4K1 year
Compare downloads with other packages →
Also on181 r2u8 autocran

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)

Installing clustra adds 2 packages (2 with compiled code, 5.7 MB of source tarballs). Heaviest: data.table 5.7 MB, MixSim 42 KB.

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.

Datasets

People & History

People (7)
Author, Maintainer since 0.1.5 (2021)
Contributor
Contributor
Funder
Project: Million Veteran Program Data Core
Releases (4)

Pick two releases to compare their code metrics.

  • 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
    record
    2024-01-10 · current release · diff ↗
  • 0.2.0
    record
    2023-10-14 · diff ↗ ·
    removed 1 export
    start_groups
    added 4 exports
    deltimeT, plot_sample, plot_silhouette, plot_smooths
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 0.1.6
    record
    2022-01-16 · diff ↗
  • 0.1.5
    record
    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

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 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.

APA

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

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.

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