Package: oddsratio
Title: Odds Ratio Calculation for GAM(M)s & GLM(M)s
Version: 2.0.2
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
RoxygenNote: 7.3.2
NeedsCompilation: no
Packaged: 2025-04-08 18:08:07 UTC; pjs
Author: Patrick Schratz [aut, cre] (<https://orcid.org/0000-0003-0748-6624>)
Maintainer: Patrick Schratz <patrick.schratz@gmail.com>
Repository: CRAN
Date/Publication: 2025-04-08 23:30:11 UTC
Built: R 4.6.0; ; 2026-04-26 09:11:27 UTC; unix
