Skip to content

exact2x2

1.7.0

Exact Tests and Confidence Intervals for 2x2 Tables

7packages depend
45.7Kdownloads / year
20.0%test coverage
13/13checks pass

Overview

About
Maintained by Michael P. FayFirst published 2009-07-2221 releasesCRAN page ↗

Calculates conditional exact tests (Fisher's exact test, Blaker's exact test, or exact McNemar's test) and unconditional exact tests (including score-based tests on differences in proportions, ratios of proportions, and odds ratios, and Boshcloo's test) with appropriate matching confidence intervals, and provides power and sample size calculations. Gives melded confidence intervals for the binomial case (Fay, et al, 2015, DOI:10.1111/biom.12231). Gives boundary-optimized rejection region test (Gabriel, et al, 2018, DOI:10.1002/sim.7579), an unconditional exact test for the situation where the controls are all expected to fail. Gives confidence intervals compatible with exact McNemar's or sign tests (Fay and Lumbard, 2021, DOI:10.1002/sim.8829). For review of these kinds of exact tests see Fay and Hunsberger (2021, DOI:10.1214/21-SS131).

Install

Health

CRAN checks
13OK
Slowest check: 2.8 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.06
20.0%
Coverage · measured lines
100%
Documentation · exports
3
Dependencies · direct
Check history
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
95%
Documented parameters
97%
Return-value docs
95%
References docs
100%

Downloads

45.7K
CRAN downloads in the past year
Rank #2,621 · ~125/day · ~3.8K/mo
Daily download trend is not available in this view yet.
2K30 days
7.6K90 days
45.7K1 year
Compare downloads with other packages →
Also on144 r2u38 autocran2.4K conda_forge

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)
Depends (4)
R >= 2.10statsexactcissanv
Imports (0)
none
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
7direct
1indirect

Code & Tests

People & History

People (5)
Maintainer (1)
Author, Maintainer · added in 1.2-0.0
Authors (1)
Author, Maintainer · added in 1.2-0.0
Contributors (4)
Contributor · added in 1.6.2
Contributor · added in 1.5.2
Contributor · added in 1.6.4.1
Contributor · added in 1.6.2
Listed in earlier versions (3)
no longer listed · 0.9-1 to 1.1-1.0
no longer listed · 1.7.0
no longer listed · 1.7.0
Package Timeline

21 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.7.0Latest
    2025-08-20 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.6.9
    2024-01-25 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.6.8
    2023-02-09 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 1.6.6
    2021-12-09 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 1.6.5
    2020-08-03 · diff ↗
  • 1.6.4.1
    2020-06-30 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 1.6.3.1
    2019-10-16 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 1.6.3
    2018-07-27 · diff ↗
Show 26 earlier events
  • R
    R 3.5.0 released · 2018-04-23
  • 1.6.2
    2018-02-26 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 1.5.2
    2017-02-16 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • 1.4.1
    2015-02-26 · diff ↗
  • 1.4.0
    2014-08-25 · diff ↗
  • 1.3.0
    2014-04-30 · diff ↗
  • R
    R 3.1.0 released · 2014-04-10
  • 1.2-0.0
    2014-03-05 · diff ↗
  • R
    R 3.0.0 released · 2013-04-03
  • R
    R 2.15.0 released · 2012-03-30
  • R
    R 2.14.0 released · 2011-10-31
  • 1.1-1.0
    2011-04-24 · diff ↗
  • R
    R 2.13.0 released · 2011-04-13
  • R
    R 2.12.0 released · 2010-10-15
  • 1.1-0.0
    2010-10-06 · diff ↗
  • 1.0-1.1
    2010-07-30 · diff ↗
  • 1.0-1
    2010-05-27 · diff ↗
  • R
    R 2.11.0 released · 2010-04-22
  • 1.0-0
    2010-01-27 · diff ↗
  • R
    R 2.10.0 released · 2009-10-26
  • 0.9-3.1
    2009-08-14 · diff ↗
  • 0.9-1
    2009-07-22
  • R
    R 2.9.0 released · 2009-04-17

Package metadata

First published
2009-07-22
Total releases
21 / 17 yrs
License
GPL-3 OSI
Minimum R
≥ 2.10
Download size
844 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →