twoxtwo: Work with Two-by-Two Tables

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.

Version: 0.1.0
Depends: R (≥ 2.10)
Imports: dplyr, tidyr, forcats, magrittr, rlang, knitr
Suggests: testthat, lifecycle, rmarkdown, ggplot2, purrr
Published: 2021-07-09
DOI: 10.32614/CRAN.package.twoxtwo
Author: VP Nagraj [aut, cre]
Maintainer: VP Nagraj <nagraj at>
License: MIT + file LICENSE
NeedsCompilation: no
Materials: README NEWS
CRAN checks: twoxtwo results


Reference manual: twoxtwo.pdf
Vignettes: Attributable Fractions and Impact Numbers
Basic Usage
Hypothesis Testing
Measures of Effect


Package source: twoxtwo_0.1.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): twoxtwo_0.1.0.tgz, r-oldrel (arm64): twoxtwo_0.1.0.tgz, r-release (x86_64): twoxtwo_0.1.0.tgz, r-oldrel (x86_64): twoxtwo_0.1.0.tgz


Please use the canonical form to link to this page.