Randomization-Based Inference
Overview
Randomization-Based Inference for customized experiments. Computes Fisher-Exact P-Values alongside null randomization distributions. Retrieves counternull sets and generates counternull distributions. Computes Fisher Intervals and Fisher-Adjusted P-Values. Package includes visualization of randomization distributions and Fisher Intervals. Users can input custom test statistics and their own methods for randomization. Rosenthal and Rubin (1994) doi:10.1111/j.1467-9280.1994.tb00281.x.
- Adjusted "width" functionality for Fisher Intervals
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 8
- Examples that run
- 67%4 run in a plain check · 2 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 38%
Downloads
Repository
Stars over time
Releases over time
6 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/ymabene/counternull on 2026-10-18.
Show all practicesHide 1 practice
Dependencies
Code & Tests
Datasets
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.2.12Latest
- 0.2.12024-02-21 · diff ↗
- 0.2.02023-08-28 · diff ↗ ·
removed 1 export
pattern:^[[:alpha:]]+added 6 exports
adjust_pvalues, create_fisher_interval, create_null_rand, create_randomization_matrix, find_counternull_values, find_test_stat - RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 0.1.02021-12-17
- RR 4.1.0 released · 2021-05-18
Package metadata
- First published
- 2021-12-17
- Total releases
- 4 / 5 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 2.10
- Bundled data
- 28 KB / 2 files
- Download size
- 103 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("Counternull")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-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.