dccpp

Fast computation of Distance Correlation and Distance Covariance in R

https://github.com/berrij/dccpp

Science Score: 23.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README
  • Academic publication links
    Links to: arxiv.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.4%) to scientific vocabulary

Keywords

statistics
Last synced: 11 months ago · JSON representation

Repository

Fast computation of Distance Correlation and Distance Covariance in R

Basic Info
  • Host: GitHub
  • Owner: BerriJ
  • License: gpl-3.0
  • Language: C++
  • Default Branch: main
  • Homepage: http://dccpp.berrisch.biz/
  • Size: 1.92 MB
Statistics
  • Stars: 9
  • Watchers: 1
  • Forks: 4
  • Open Issues: 0
  • Releases: 0
Topics
statistics
Created over 4 years ago · Last pushed almost 3 years ago

https://github.com/BerriJ/dccpp/blob/main/

The dccpp R Package
======================


[![R-CMD-check](https://img.shields.io/github/actions/workflow/status/berrij/dccpp/R-CMD-check.yaml?&style=for-the-badge)](https://github.com/BerriJ/dccpp/actions/workflows/R-CMD-check.yaml)
[![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/berrij/dccpp/pkgdown.yaml?label=Documentation&style=for-the-badge)](https://dccpp.berrisch.biz/)
[![Lifecycle: stable](https://img.shields.io/badge/Lifecycle-stable-brightgreen?style=for-the-badge)](https://lifecycle.r-lib.org/articles/stages.html#stable)


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](https://arxiv.org/abs/1810.11332), [elsevier](https://doi.org/10.1016/j.csda.2019.01.016)). The functions are written entirely in C++ to speed up the computation.


Installation
------------

### Install from CRAN

``` r
install.packages("dccpp")
```

### Install from GitHub

``` r
# install.packages("remotes")
remotes::install_github("BerriJ/dccpp")
```

## Usage

``` r
dcov(x, y) # To calculate the distance covariance
dcor(x, y) # To calculate the distance correlation
```

## Contributions and Issues

Feel free to [raise an issue](https://github.com/BerriJ/dccpp/issues/new) if you find something not working properly.

You are also very welcome to contribute to `dcccp`. Please base your pull requests on the development branch. Note that this package focuses on performance, PR's that improve the performance are particularly welcome.

## License

[GNU General Public License](https://www.gnu.org/licenses/) ( 3)

Owner

  • Name: Jonathan Berrisch
  • Login: BerriJ
  • Kind: user
  • Location: Wuppertal, Germany
  • Company: University of Duisburg-Essen

Data Scientist, Ph.D. Student and Unix Nerd.

GitHub Events

Total
  • Watch event: 2
  • Fork event: 1
Last Year
  • Watch event: 2
  • Fork event: 1

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 22
  • Total Committers: 1
  • Avg Commits per committer: 22.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Jonathan Berrisch j****n@b****z 22
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 0
  • Total pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: 12 minutes
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
  • BerriJ (1)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 235 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 2
  • Total maintainers: 1
cran.r-project.org: dccpp

Fast Computation of Distance Correlations

  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 235 Last month
Rankings
Forks count: 17.8%
Stargazers count: 26.2%
Dependent packages count: 29.8%
Dependent repos count: 35.5%
Average: 37.3%
Downloads: 77.4%
Maintainers (1)
Last synced: 11 months ago