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:
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
- titanic - Expanded Titanic dataset
Last updated 3 years agofrom:9fa9e1f163. Checks:9 OK. Indexed: yes.
Target | Result | Latest binary |
---|---|---|
Doc / Vignettes | OK | Mar 04 2025 |
R-4.5-win | OK | Mar 04 2025 |
R-4.5-mac | OK | Mar 04 2025 |
R-4.5-linux | OK | Mar 04 2025 |
R-4.4-win | OK | Mar 04 2025 |
R-4.4-mac | OK | Mar 04 2025 |
R-4.4-linux | OK | Mar 04 2025 |
R-4.3-win | OK | Mar 04 2025 |
R-4.3-mac | OK | Mar 04 2025 |
Exports:%>%arpchisqcindisplayecineinfisherodds_ratioparprisk_diffrisk_ratiotwoxtwo
Dependencies:clicpp11dplyrevaluatefansiforcatsgenericsgluehighrknitrlifecyclemagrittrpillarpkgconfigpurrrR6rlangstringistringrtibbletidyrtidyselectutf8vctrswithrxfunyaml
Attributable Fractions and Impact Numbers
Rendered fromaf-impact.Rmd
usingknitr::rmarkdown
on Mar 04 2025.Last update: 2021-07-03
Started: 2021-06-06
Basic Usage
Rendered frombasic-usage.Rmd
usingknitr::rmarkdown
on Mar 04 2025.Last update: 2021-07-03
Started: 2021-04-11
Hypothesis Testing
Rendered fromhypothesis-testing.Rmd
usingknitr::rmarkdown
on Mar 04 2025.Last update: 2021-07-03
Started: 2021-05-08
Measures of Effect
Rendered frommeasures-of-effect.Rmd
usingknitr::rmarkdown
on Mar 04 2025.Last update: 2021-07-03
Started: 2021-04-25
Readme and manuals
Help Manual
Help page | Topics |
---|---|
twoxtwo | twoxtwo-package |
Attributable fractions | af arp parp |
Bound a vector | bound |
Pearson's chi-squared test | chisq |
Display twoxtwo object | display |
Fisher's exact test | fisher |
Format measure | format_measure |
Impact numbers | cin ecin ein impact |
Measures of effect | measures odds_ratio risk_diff risk_ratio |
Print twoxtwo object | print.twoxtwo |
Summarize twoxtwo object | summary.twoxtwo |
Expanded Titanic dataset | titanic |
Create a twoxtwo table | twoxtwo |