Package: oddsratio 2.0.1.9000

oddsratio: Odds Ratio Calculation for GAM(M)s & GLM(M)s

Simplified odds ratio calculation of GAM(M)s & GLM(M)s. Provides structured output (data frame) of all predictors and their corresponding odds ratios and confident intervals for further analyses. It helps to avoid false references of predictors and increments by specifying these parameters in a list instead of using 'exp(coef(model))' (standard approach of odds ratio calculation for GLMs) which just returns a plain numeric output. For GAM(M)s, odds ratio calculation is highly simplified with this package since it takes care of the multiple 'predict()' calls of the chosen predictor while holding other predictors constant. Also, this package allows odds ratio calculation of percentage steps across the whole predictor distribution range for GAM(M)s. In both cases, confident intervals are returned additionally. Calculated odds ratio of GAM(M)s can be inserted into the smooth function plot.

Authors:Patrick Schratz [aut, cre]

oddsratio_2.0.1.9000.tar.gz
oddsratio_2.0.1.9000.zip(r-4.5)oddsratio_2.0.1.9000.zip(r-4.4)oddsratio_2.0.1.9000.zip(r-4.3)
oddsratio_2.0.1.9000.tgz(r-4.5-any)oddsratio_2.0.1.9000.tgz(r-4.4-any)oddsratio_2.0.1.9000.tgz(r-4.3-any)
oddsratio_2.0.1.9000.tar.gz(r-4.5-noble)oddsratio_2.0.1.9000.tar.gz(r-4.4-noble)
oddsratio_2.0.1.9000.tgz(r-4.4-emscripten)oddsratio_2.0.1.9000.tgz(r-4.3-emscripten)
oddsratio.pdf |oddsratio.html
oddsratio/json (API)
NEWS

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

Bug tracker:https://github.com/pat-s/oddsratio/issues

On CRAN:

Conda:

odds-ratioprobabilitystatistics

7.48 score 31 stars 1 packages 81 scripts 781 downloads 8 mentions 6 exports 28 dependencies

Last updated 12 months agofrom:22aeefd526. Checks:6 OK, 3 NOTE. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 12 2025
R-4.5-winNOTEMar 12 2025
R-4.5-macNOTEMar 12 2025
R-4.5-linuxNOTEMar 12 2025
R-4.4-winOKMar 12 2025
R-4.4-macOKMar 12 2025
R-4.4-linuxOKMar 12 2025
R-4.3-winOKMar 12 2025
R-4.3-macOKMar 12 2025

Exports:gam_to_dfinsert_orno_plotor_gamor_glmplot_gam

Dependencies:clicolorspacefansifarverggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigR6RColorBrewerrlangscalestibbleutf8vctrsviridisLitewithr

Getting Started

Rendered fromoddsratio.Rmdusingknitr::rmarkdownon Mar 12 2025.

Last update: 2021-12-05
Started: 2019-06-13