Fast Computation of Distance Correlations
Overview
Fast computation of the distance covariance 'dcov' and distance correlation 'dcor'. The computation cost is only O(n log(n)) for the distance correlation (see Chaudhuri, Hu (2019) arXiv:1810.11332 doi:10.1016/j.csda.2019.01.016). The functions are written entirely in C++ to speed up the computation.
Fixes
Fix overflow in dcov and dcor for large sample sizes (> 46340).
From NEWS.md in the release
Install
Health
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Jonathan Berrisch <Jonathan@Berrisch.biz>’ The Description field contains distance correlation (see Chaudhuri, Hu (2019) <arXiv:1810.11332> Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
- NOTE11 OK, 2 NOTENow
- NOTE12 OK, 2 NOTE2026-04-22
- ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 2
- Examples that run
- 0%2 never run
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
9 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/berrij/dccpp on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2023-09-27 · The repository has a site deploy workflow
Show all practicesHide 1 practice
Dependencies
Installing dccpp adds 2 packages (2 with compiled code, 2.8 MB of source tarballs). Heaviest: Rcpp 1.8 MB, RcppArmadillo 1.0 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 0.1.0Latest
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 0.0.22022-03-02
- RR 4.1.0 released · 2021-05-18
Package metadata
- First published
- 2022-03-02
- Total releases
- 2 / 4 yrs
- License
- GPL (>= 3) OSI
- Download size
- 5.9 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("dccpp")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.
From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.