twoxtwo
0.1.0Work with Two-by-Two Tables
0packages depend
2.5Kdownloads / year
89.9%test coverage
13/13checks pass
Overview
About
A collection of functions for data analysis with two-by-two contingency tables. The package provides tools to compute measures of effect (odds ratio, risk ratio, and risk difference), calculate impact numbers and attributable fractions, and perform hypothesis testing. Statistical analysis methods are oriented towards epidemiological investigation of relationships between exposures and outcomes.
Install
Health
CRAN checks
13OK
Slowest check: 1.7 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.32
89.9%
Coverage · measured lines
92%
Documentation · exports
6
Dependencies · direct
Check history
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
Documentation
READMEYes · 332 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 33% structuredCode of conductNoContributing guideNo
- Examples that run
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- References docs
- 21%
Downloads
2.5K
CRAN downloads in the past year
Rank #20,513 · ~7/day · ~210/mo
Daily download trend is not available in this view yet.
17930 days
55890 days
2.5K1 year
Also on93 r2u28 autocran
Dependencies
Declared dependencies
11 external dependencies (excludes base and recommended)
Depends (1)
R >= 2.10
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Nothing depends on this yet.
Code & Tests
Datasets
People & History
Package Timeline
1 release. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- 0.1.0Latest2026-03-10 · current release
- RR 4.5.0 released · 2025-04-11
0 of 2 selectedCompare selected
Package metadata
- First published
- 2021-07-09
- Total releases
- 1 / 5 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 2.10
- Bundled data
- 0.4 KB / 1 file
- Download size
- 98 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet