Skip to content

moderncor

0.2.0Package record

Unified Interface for Modern and Classical Correlation Coefficients

0packages depend
1.1Kdownloads / year
76.3%test coverage
13/13flavors OK

Overview

About

Provides a single unified interface for computing a wide variety of classical and modern correlation and association measures. Continuous methods include classical correlations (Pearson, Spearman, Kendall), modern dependence measures (distance correlation, maximal information coefficient, Hilbert-Schmidt independence criterion, Chatterjee's xi, Hoeffding's D, mutual information), robust correlations (biweight midcorrelation, percentage bend, Winsorized), ordinal correlations (polychoric, tetrachoric), partial and semi-partial correlations, and nonparametric measures (ball correlation, Bergsma-Dassios tau*). Categorical association measures (Cramer's V, phi coefficient, Goodman-Kruskal gamma, Somers' D, contingency coefficient, Tschuprow's T) are available via moderncor_cat().

Changes in 0.2.0

New Features

  • Added robust correlation methods: biweight midcorrelation, percentage bend correlation (WRS2), and Winsorized correlation (WRS2).
  • Added ordinal correlation methods: polychoric and tetrachoric correlation (psych).
  • Added partial correlation methods: partial correlation and semi-partial correlation (ppcor), controlled via the new z parameter.
  • Added nonparametric methods: ball correlation (Ball) and Bergsma-Dassios tau* (TauStar).
  • Added moderncor_cat() for categorical association measures: Cramer's V, phi coefficient, Goodman-Kruskal gamma, Somers' D, contingency coefficient, and Tschuprow's T (all via DescTools).
Show all changes in 0.2.0Hide the rest of the changes in 0.2.0
  • Added available_methods_cat() to list all supported categorical methods.

Changes

  • Removed dependency on WGCNA (Bioconductor). Biweight midcorrelation is now computed using a built-in implementation of the standard formula (Wilcox 2012), eliminating the need for Additional_repositories.
  • Version bumped to 0.2.0 to reflect the substantial addition of Phase 2 methods.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 1.6 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK7 OK2026-06-25
Advisories

none known

Documentation

In release 0.2.0
READMEYes · 453 wordsVignettesYes · 2 · evaluation depends on the environmentNEWSYes · 100% structured · mentions 0.2.0Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
40 (27 internal)includes a package overview page
Examples that run
100%4 run in a plain check
Exported functions with examples
80%
Documented parameters
96%
Return-value docs
100%
Help pages citing references
3%

Downloads

1.1K
CRAN downloads in the past year
Rank #17,204 · ~3/day · ~92/mo
Daily download trend is not available in this view yet.
21430 days
74590 days
1.1K1 year
Compare downloads with other packages →
Also on21 r2u3 autocran

Repository

1Stars
0Forks
0Open issues
0Open PRs
0Releases
11Commits
1Commit identities
11 commits · Last activity 2026-06-20 · 0% stars, 30d
Responsiveness
How these are sampled
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

2026-06-28 · 12026-07-07 · 1
PracticesBeta

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

Checks run against github.com/toshihiroiguchi/moderncor on 2026-10-21.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (1)
pkgdown
CRAN release process (1)
cran-comments.md
How this is detected·Detection ruleset v4 (2026-10-20)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2026-06-08
    Seen in the repository: CLAUDE.md
    Named in .Rbuildignore: .claude, CLAUDE.md
    Pull request it wrote: opened by a project member
    Commits: at least 6 crediting it in the message
  • Gemini CLIfirst seen 2026-06-08
    Seen in the repository: GEMINI.md
    Named in .Rbuildignore: GEMINI.md
Models named in its commits
  • Claude Opus 4.84 commits · Jun 2026
  • Claude Sonnet 4.62 commits · Jun 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
15 external dependencies (excludes base and recommended)

Installing moderncor adds 8 packages (4 with compiled code, 8.6 MB of source tarballs). Heaviest: psychTools 3.8 MB, Rcpp 1.8 MB, GPArotation 1.6 MB.

Depends (0)
none
Imports (3)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer since 0.2.0 (2026)
Releases (1)
  • 0.2.0Latest
    2026-06-24 · current release
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-06-24
Total releases
1 / 1 yrs
License
GPL-3 OSI
Download size
49 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("moderncor")
Iguchi, T. (2026). moderncor: Unified Interface for Modern and Classical Correlation Coefficients (Version 0.2.0) [Computer software]. https://doi.org/10.32614/CRAN.package.moderncor

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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for moderncor version 0.2.0 [Data set]. HJJB, LLC. Data release v2026-10-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy