Package: oddsratio Title: Odds Ratio Calculation for GAM(M)s & GLM(M)s Version: 2.0.2.9000 Authors@R: person("Patrick", "Schratz", , "patrick.schratz@gmail.com", role = c("aut", "cre"), comment = c(ORCID = "0000-0003-0748-6624")) Description: 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. License: MIT + file LICENSE URL: https://github.com/pat-s/oddsratio BugReports: https://github.com/pat-s/oddsratio/issues Depends: R (>= 3.0.0) Imports: ggplot2 (>= 3.0.0), mgcv, stats Suggests: gam, knitr, MASS, rmarkdown, testthat VignetteBuilder: knitr Encoding: UTF-8 LazyData: true Roxygen: list(markdown = TRUE) RoxygenNote: 7.3.2 Repository: https://pat-s.r-universe.dev Date/Publication: 2025-10-17 09:08:17 UTC RemoteUrl: https://github.com/pat-s/oddsratio RemoteRef: HEAD RemoteSha: 23bb1ecbd9f4b268fe84bdcfba739166e3ad2dfa NeedsCompilation: no Packaged: 2026-07-05 01:54:11 UTC; root Author: Patrick Schratz [aut, cre] (ORCID: ) Maintainer: Patrick Schratz