riemstats: Riemannian ANOVA Statistics

Provides statistical methods for analyzing samples of symmetric positive definite (SPD) matrices, particularly functional connectivity matrices from neuroimaging data. Implements Fréchet ANOVA (Dubey and Müller (2019) <doi:10.1093/biomet/asz052>) for testing differences between groups in metric spaces, and Riemannian ANOVA methods that leverage tangent space geometry with classic multivariate test statistics including Wilks' Lambda and Pillai's trace. Also includes harmonization techniques for removing batch effects in multi-site studies: ComBat-based harmonization (Honnorat et al. (2024) <doi:10.1016/j.media.2023.103043>) and rigid harmonization (Simeon et al. (2022) <doi:10.3389/fninf.2022.769274>). Builds on 'riemtan' package infrastructure for efficient computation with multiple Riemannian metrics.

Version: 0.2.0
Depends: R (≥ 4.3.0)
Imports: Matrix, CovTools, sva, purrr, riemtan, methods
Suggests: testthat (≥ 3.0.0), knitr, rmarkdown
Published: 2025-11-17
DOI: 10.32614/CRAN.package.riemstats (may not be active yet)
Author: Nicolas Escobar ORCID iD [aut, cre], Jaroslaw Harezlak [ths]
Maintainer: Nicolas Escobar <nescoba at iu.edu>
BugReports: https://github.com/nicoesve/riemstats/issues
License: MIT + file LICENSE
URL: https://nicoesve.github.io/riemstats/
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: riemstats results

Documentation:

Reference manual: riemstats.html , riemstats.pdf
Vignettes: riemstats (source, R code)

Downloads:

Package source: riemstats_0.2.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): riemstats_0.2.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=riemstats to link to this page.