Skip to content

latrend

1.6.3

A Framework for Clustering Longitudinal Data

0packages depend
6Kdownloads / year
78.7%test coverage
11/13checks pass

Overview

About
Maintained by Niek Den TeulingFirst published 2020-11-1814 releasesCRAN page ↗GitHub ↗

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

CRAN checks
2NOTE11OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 15.2 min · r-oldrel-macos-x86_64
Code health
Yes
Tests · ratio 0.33
78.7%
Coverage · measured lines
100%
Documentation · exports
11
Dependencies · direct
Check history
  • NOTE2026-07-11
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
95%
Documented parameters
98%
Return-value docs
62%
References docs
12%

Downloads

6K
CRAN downloads in the past year
Rank #10,117 · ~16/day · ~501/mo
Daily download trend is not available in this view yet.
30830 days
1.1K90 days
6K1 year
Compare downloads with other packages →
Also on139 r2u32 autocran

Repository

Repository
35Stars
5Forks
19Open issues
0Open PRs
25Releases
1,367Commits
2Contributors
longitudinal-dataclustering-methodscluster-analysisclustering-evaluationmixture-modelsdata-sciencetime-series-analysisr-package
License GPL-2.0 · 1,367 commits · Last activity 2026-02-13 · 0% stars, 30d

Stars over time

2025-06-18 · 332026-07-07 · 35

Repository practices

Upstream repositoryBeta

7 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/niekdt/latrend on 2026-07-19.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (2)
renvdata-raw/
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Research and citation (1)
CITATION.cff
Show all practices
Coverage (1)
.covrignore
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Code Composition
R 19,940 (64%)Rd 10,364 (33%)Vignettes 651 (2%)
Code characteristics
Object systems
S367S4 class45S4 generic36S4 method280
Cyclomatic complexity
1.0 median / 20 max
Test cases
465 / 0.33 per code line

Test coverage

Line coverage

79%

Expression

77.9%

Tests / Examples

78.7% / 61% ex

Functions

308 86 exported

Complexity

2.2 avg / 20 max

Call network

308 nodes / 332 edges

Loading call graph…

Lowest coverage

308 functions
FunctionCycloCoverage
defineExternalMetric exp10%
defineInternalMetric exp10%
lcMethodAkmedoids exp10%
lcMethodCrimCV exp10%
lcMethodFlexmixGBTM exp10%
lcMethodKML exp10%

Datasets

Bundled datasets · 2
NameClassRows × ColsAlso ships in
PAP.adhdata.frame3,913 × 4
latrendDatadata.frame2,000 × 4

People & History

People (4)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Contributors (2)
Contributor
Copyright holders (1)
Copyright holder · added in 1.4.3
Listed in earlier versions (3)
no longer listed · 1.1.0 to 1.2.1
no longer listed · 1.3.0 to 1.4.2
Package Timeline

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

  • R
    R 4.6.0 released · 2026-04-24
  • 1.6.3Latest
    2026-02-13 · current release · diff ↗
  • unarchivedReturned to CRAN
    2026-02-13
  • archivedRemoved from CRAN
    2026-02-13
    issues were not corrected in time
  • 1.6.2
    2025-07-04 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.6.1
    2024-05-15 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.6.0
    2024-02-18 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.5.1
    2023-03-18 · diff ↗
  • 1.5.0
    2022-11-10 · diff ↗
  • 1.4.3
    2022-10-26 · diff ↗
  • 1.4.2
    2022-08-15 · diff ↗
  • unarchivedReturned to CRAN
    2022-08-15
  • archivedRemoved from CRAN
    2022-08-11
    issues were not corrected in time
Show 13 earlier events
  • 1.4.1
    2022-07-04 · diff ↗
  • unarchivedReturned to CRAN
    2022-07-04
  • archivedRemoved from CRAN
    2022-06-28
    check problems were not corrected in time
  • 1.3.0
    2022-05-26 · diff ↗
  • unarchivedReturned to CRAN
    2022-05-26
  • archivedRemoved from CRAN
    2022-05-22
    check issues were not corrected in time
  • R
    R 4.2.0 released · 2022-04-22
  • 1.2.1
    2022-01-06 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 1.1.2
    2021-04-14 · diff ↗
  • 1.1.0
    2021-03-05 · diff ↗
  • 1.0.1
    2020-11-18
  • R
    R 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
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →