Skip to content

fdacluster

0.4.2

Joint Clustering and Alignment of Functional Data

1packages depend
4.1Kdownloads / year
75.9%test coverage
13/13checks pass

Overview

About
Maintained by Aymeric StammFirst published 2022-02-019 releasesCRAN page ↗GitHub ↗

Implementations of the k-means, hierarchical agglomerative and DBSCAN clustering methods for functional data which allows for jointly aligning and clustering curves. It supports functional data defined on one-dimensional domains but possibly evaluating in multivariate codomains. It supports functional data defined in arrays but also via the 'fd' and 'funData' classes for functional data defined in the 'fda' and 'funData' packages respectively. It currently supports shift, dilation and affine warping functions for functional data defined on the real line and uses the SRVF framework to handle boundary-preserving warping for functional data defined on a specific interval. Main reference for the k-means algorithm: Sangalli L.M., Secchi P., Vantini S., Vitelli V. (2010) "k-mean alignment for curve clustering" doi:10.1016/j.csda.2009.12.008. Main reference for the SRVF framework: Tucker, J. D., Wu, W., & Srivastava, A. (2013) "Generative models for functional data using phase and amplitude separation" doi:10.1016/j.csda.2012.12.001.

Install

Health

CRAN checks
13OK
Slowest check: 17.1 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.55
75.9%
Coverage · measured lines
100%
Documentation · exports
12
Dependencies · direct
Check history
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-04-22
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    10 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
Show 1 earlier snapshots
  • NOTE2026-03-10
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 352 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
99%
Return-value docs
100%
References docs
6%

Downloads

4.1K
CRAN downloads in the past year
Rank #9,620 · ~11/day · ~338/mo
Daily download trend is not available in this view yet.
40030 days
1.2K90 days
4.1K1 year
Compare downloads with other packages →
Also on630 r2u31 autocran

Repository

Repository
8Stars
0Forks
7Open issues
0Open PRs
7Releases
326Commits
4Contributors
License GPL-3.0 · 326 commits · Last activity 2026-01-15 · 0% stars, 30d

Stars over time

2025-07-11 · 62026-07-07 · 8

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/astamm/fdacluster on 2026-07-19.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Show all practices
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
21 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.2.0
Enhances (0)
none
Reverse dependencies
1direct
0indirect

Code & Tests

Code Composition
R 3,528 (44%)C++ 2,037 (25%)Rd 1,190 (15%)Vignettes 628 (8%)C 587 (7%)Other 110 (1%)
Code characteristics
Object systems
S34
Cyclomatic complexity
3.0 median / 32 max
Test cases
25 / 0.55 per code line

Test coverage

Line coverage

76%

Expression

81.8%

Tests / Examples

75.9% / 57% ex

Functions

105 9 exported

Complexity

5.9 avg / 32 max

Call network

105 nodes / 67 edges

Loading call graph…

Lowest coverage

105 functions
FunctionCycloCoverage
compare_caps exp60%
.onUnload10%
autoplot.caps30%
autoplot.mcaps60%
format_viz10%
imap10%

People & History

People (6)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Contributors (5)
Contributor
Contributor
Contributor
Contributor
Package Timeline

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

  • R
    R 4.6.0 released · 2026-04-24
  • 0.4.2Latest
    2026-01-15 · current release · diff ↗
  • unarchivedReturned to CRAN
    2026-01-15
  • archivedRemoved from CRAN
    2025-11-28
    issues were not corrected despite reminders
  • R
    R 4.5.0 released · 2025-04-11
  • 0.4.1
    2025-01-14 · diff ↗
  • 0.4.0
    2025-01-12 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.3.0
    2023-07-04 · diff ↗
  • 0.2.2
    2023-05-25 · diff ↗
  • 0.2.1
    2023-05-19 · diff ↗
  • 0.2.0
    2023-05-18 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.1.1
    2022-05-09 · diff ↗
  • unarchivedReturned to CRAN
    2022-05-09
  • R
    R 4.2.0 released · 2022-04-22
Show 3 earlier events
  • archivedRemoved from CRAN
    2022-02-16
    check problems were not corrected in time
  • 0.1.0
    2022-02-01
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2022-02-01
Total releases
9 / 4 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 4.2.0
Bundled data
495 KB / 5 files
Download size
6.1 MB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views
Report a problem with this page →