Skip to content

Counternull

0.2.12Package record

Randomization-Based Inference

0packages depend
3.1Kdownloads / year
71.6%test coverage
13/13flavors OK

Overview

About

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.

Changes in 0.2.12
  • Adjusted "width" functionality for Fisher Intervals

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 3.1 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.2.12
READMEYes · 105 wordsVignettesYes · 1 · dynamicNEWSYes · 67% structured · mentions 0.2.12Citation fileNoWebsitenot declared in DESCRIPTION
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

3.1K
CRAN downloads in the past year
Rank #14,065 · ~8/day · ~258/mo
Daily download trend is not available in this view yet.
31130 days
83290 days
3.1K1 year
Compare downloads with other packages →
Also on119 r2u17 autocran

Repository

1Stars
0Forks
0Open issues
0Open PRs
3Releases
23Commits
1Commit identities
23 commits · Last activity 2024-02-25
Responsiveness
not measured

Stars over time

2025-01-05 · 12026-07-07 · 1
PracticesBeta

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.

Docs source (1)
README.Rmd
Reproducibility and dev environment (1)
data-raw/
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Lint, format, editor (1)
RStudio project
Show all practicesHide 1 practice
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)

Installing Counternull adds 32 packages (17 with compiled code, 31 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, Rcpp 1.8 MB.

Depends (1)
R >= 2.10
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (3)
Author, Maintainer since 0.1.0 (2021)
Copyright holder
Releases (4)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.2.12Latest
    record
    2024-02-24 · current release · diff ↗
  • 0.2.1
    record
    2024-02-21 · diff ↗
  • 0.2.0
    record
    2023-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
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 0.1.0
    record
    2021-12-17
  • R
    R 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
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("Counternull")
Yasmine, M., Harvard University, & Marie, B. (2024). Counternull: Randomization-Based Inference (Version 0.2.12) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

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

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.

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