Package: twoxtwo 0.1.0

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.

Authors:VP Nagraj [aut, cre]

twoxtwo_0.1.0.tar.gz
twoxtwo_0.1.0.zip(r-4.5)twoxtwo_0.1.0.zip(r-4.4)twoxtwo_0.1.0.zip(r-4.3)
twoxtwo_0.1.0.tgz(r-4.5-any)twoxtwo_0.1.0.tgz(r-4.4-any)twoxtwo_0.1.0.tgz(r-4.3-any)
twoxtwo_0.1.0.tar.gz(r-4.5-noble)twoxtwo_0.1.0.tar.gz(r-4.4-noble)
twoxtwo_0.1.0.tgz(r-4.4-emscripten)twoxtwo_0.1.0.tgz(r-4.3-emscripten)
twoxtwo.pdf |twoxtwo.html
twoxtwo/json (API)
NEWS

# Install 'twoxtwo' in R:
install.packages('twoxtwo', repos = c('https://vpnagraj.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/vpnagraj/twoxtwo/issues

Datasets:

On CRAN:

Conda:

4.68 score 2 stars 12 scripts 141 downloads 13 exports 27 dependencies

Last updated 3 years agofrom:9fa9e1f163. Checks:9 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKApr 03 2025
R-4.5-winOKApr 03 2025
R-4.5-macOKApr 03 2025
R-4.5-linuxOKApr 03 2025
R-4.4-winOKApr 03 2025
R-4.4-macOKApr 03 2025
R-4.4-linuxOKApr 03 2025
R-4.3-winOKApr 03 2025
R-4.3-macOKApr 03 2025

Exports:%>%arpchisqcindisplayecineinfisherodds_ratioparprisk_diffrisk_ratiotwoxtwo

Dependencies:clicpp11dplyrevaluatefansiforcatsgenericsgluehighrknitrlifecyclemagrittrpillarpkgconfigpurrrR6rlangstringistringrtibbletidyrtidyselectutf8vctrswithrxfunyaml

Attributable Fractions and Impact Numbers

Rendered fromaf-impact.Rmdusingknitr::rmarkdownon Apr 03 2025.

Last update: 2021-07-03
Started: 2021-06-06

Basic Usage

Rendered frombasic-usage.Rmdusingknitr::rmarkdownon Apr 03 2025.

Last update: 2021-07-03
Started: 2021-04-11

Hypothesis Testing

Rendered fromhypothesis-testing.Rmdusingknitr::rmarkdownon Apr 03 2025.

Last update: 2021-07-03
Started: 2021-05-08

Measures of Effect

Rendered frommeasures-of-effect.Rmdusingknitr::rmarkdownon Apr 03 2025.

Last update: 2021-07-03
Started: 2021-04-25