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.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'))

Peer review:

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

Datasets:

On CRAN:

13 exports 2 stars 0.83 score 27 dependencies 12 scripts 169 downloads

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

TargetResultDate
Doc / VignettesOKSep 05 2024
R-4.5-winOKSep 05 2024
R-4.5-linuxOKSep 05 2024
R-4.4-winOKSep 05 2024
R-4.4-macOKSep 05 2024
R-4.3-winOKSep 05 2024
R-4.3-macOKSep 05 2024

Exports:%>%arpchisqcindisplayecineinfisherodds_ratioparprisk_diffrisk_ratiotwoxtwo

Dependencies:clicpp11dplyrevaluatefansiforcatsgenericsgluehighrknitrlifecyclemagrittrpillarpkgconfigpurrrR6rlangstringistringrtibbletidyrtidyselectutf8vctrswithrxfunyaml

Attributable Fractions and Impact Numbers

Rendered fromaf-impact.Rmdusingknitr::rmarkdownon Sep 05 2024.

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

Basic Usage

Rendered frombasic-usage.Rmdusingknitr::rmarkdownon Sep 05 2024.

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

Hypothesis Testing

Rendered fromhypothesis-testing.Rmdusingknitr::rmarkdownon Sep 05 2024.

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

Measures of Effect

Rendered frommeasures-of-effect.Rmdusingknitr::rmarkdownon Sep 05 2024.

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