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 144 downloads 13 exports 27 dependencies

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

TargetResultLatest binary
Doc / VignettesOKMar 04 2025
R-4.5-winOKMar 04 2025
R-4.5-macOKMar 04 2025
R-4.5-linuxOKMar 04 2025
R-4.4-winOKMar 04 2025
R-4.4-macOKMar 04 2025
R-4.4-linuxOKMar 04 2025
R-4.3-winOKMar 04 2025
R-4.3-macOKMar 04 2025

Exports:%>%arpchisqcindisplayecineinfisherodds_ratioparprisk_diffrisk_ratiotwoxtwo

Dependencies:clicpp11dplyrevaluatefansiforcatsgenericsgluehighrknitrlifecyclemagrittrpillarpkgconfigpurrrR6rlangstringistringrtibbletidyrtidyselectutf8vctrswithrxfunyaml

Attributable Fractions and Impact Numbers

Rendered fromaf-impact.Rmdusingknitr::rmarkdownon Mar 04 2025.

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

Basic Usage

Rendered frombasic-usage.Rmdusingknitr::rmarkdownon Mar 04 2025.

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

Hypothesis Testing

Rendered fromhypothesis-testing.Rmdusingknitr::rmarkdownon Mar 04 2025.

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

Measures of Effect

Rendered frommeasures-of-effect.Rmdusingknitr::rmarkdownon Mar 04 2025.

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