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.7)twoxtwo_0.1.0.zip(r-4.6)twoxtwo_0.1.0.zip(r-4.5)
twoxtwo_0.1.0.tgz(r-4.6-any)twoxtwo_0.1.0.tgz(r-4.5-any)
twoxtwo_0.1.0.tar.gz(r-4.7-any)twoxtwo_0.1.0.tar.gz(r-4.6-any)
twoxtwo_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
twoxtwo/json (API)

# 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.81 score 2 stars 16 scripts 153 downloads 13 exports 26 dependencies

Last updated from:9fa9e1f163. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK122
source / vignettesOK168
linux-release-x86_64OK134
macos-release-arm64OK123
macos-oldrel-arm64OK109
windows-develOK74
windows-releaseOK90
windows-oldrelOK69
wasm-releaseOK113

Exports:%>%arpchisqcindisplayecineinfisherodds_ratioparprisk_diffrisk_ratiotwoxtwo

Dependencies:clicpp11dplyrevaluateforcatsgenericsgluehighrknitrlifecyclemagrittrpillarpkgconfigpurrrR6rlangstringistringrtibbletidyrtidyselectutf8vctrswithrxfunyaml

Attributable Fractions and Impact Numbers
Overview | Attributable Risk Proportion (ARP) | Population Attributable Risk Proportion (PARP) | Exposure Impact Number (EIN) | Case Impact Number (CIN) | Exposed Cases Impact Number (ECIN) | References

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

Basic Usage
Overview | Creating a twoxtwo | Calculating measures of effect | Hypothesis testing | Customizing orientation of twoxtwo

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

Hypothesis Testing
Overview | Pearson's Chi-squared test | Fisher's exact test | References

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

Measures of Effect
Overview | Odds ratio | Risk ratio | Risk difference | Comparing measures | References

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