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.
| Version: | 2.0.2 |
| Depends: | R (≥ 3.0.0) |
| Imports: | ggplot2 (≥ 3.0.0), mgcv, stats |
| Suggests: | gam, knitr, MASS, rmarkdown, testthat |
| Published: | 2025-04-08 |
| DOI: | 10.32614/CRAN.package.oddsratio |
| Author: | Patrick Schratz |
| Maintainer: | Patrick Schratz <patrick.schratz at gmail.com> |
| BugReports: | https://github.com/pat-s/oddsratio/issues |
| License: | MIT + file LICENSE |
| URL: | https://github.com/pat-s/oddsratio |
| NeedsCompilation: | no |
| Citation: | oddsratio citation info |
| Materials: | NEWS |
| CRAN checks: | oddsratio results |
| Reference manual: | oddsratio.html , oddsratio.pdf |
| Vignettes: |
Getting Started (source, R code) |
| Package source: | oddsratio_2.0.2.tar.gz |
| Windows binaries: | r-devel: oddsratio_2.0.2.zip, r-release: oddsratio_2.0.2.zip, r-oldrel: oddsratio_2.0.2.zip |
| macOS binaries: | r-release (arm64): oddsratio_2.0.2.tgz, r-oldrel (arm64): oddsratio_2.0.2.tgz, r-release (x86_64): oddsratio_2.0.2.tgz, r-oldrel (x86_64): oddsratio_2.0.2.tgz |
| Old sources: | oddsratio archive |
| Reverse imports: | RQdeltaCT |
Please use the canonical form https://CRAN.R-project.org/package=oddsratio to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.