Matched-Null Tests for Cluster-Count Claims
Overview
Builds matched nulls for cluster-count claims: synthetic twins of a dataset that preserve every marginal distribution and the full correlation matrix while containing no cluster structure by construction. A reported number of clusters or "types" can then be tested against what the data's own margins and covariance already produce, using any clustering pipeline. A t-copula option adds tail dependence to the null, so that an apparent excess of clusters can be checked against a heavier-tailed alternative before it is read as evidence of types. Implements the matched-null procedure of Meng (2026) "Types Without Taxa" doi:10.17605/OSF.IO/2EKCG.
matched_null_test()gainsparallel. Withparallel = TRUEthe twin loop runs through 'future.apply', so the backend is whateverfuture::plan()the caller has set. Seeded results are reproducible and independent of the number of workers. The defaultparallel = FALSEpath is unchanged, so existing seeded analyses reproduce exactly.- The maintainer address now uses a permanent personal inbox.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK7 OK2026-07-22
Documentation
The repository also keeps web-only articles.
- Help pages
- 2
- Examples that run
- 50%1 run in a plain check · 1 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 100%
- Documented parameters
- 88%
- Return-value docs
- 100%
- Help pages citing references
- 50%
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
Releases over time
PRs over time
Commits over time
6 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/haomeng797-ship-it/matchednull on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-08-19
pkgdown site last built 2026-08-09, before release 0.2.1 (2026-08-21)
Dependencies
Installing matchednull adds no packages beyond those that come with R.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 0.2.1Latest
- 0.1.02026-07-21
- RR 4.6.0 released · 2026-04-24
Package metadata
- First published
- 2026-07-21
- Total releases
- 2 / 1 yrs
- License
- MIT + file LICENSE OSI
- Download size
- 299 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("matchednull")The package provides a citation file, so citation() returns the authors' own entry.
The repository also keeps a CITATION.cff.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.