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.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'))

Peer review:

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

Datasets:

    On CRAN:

    odds-ratioprobabilitystatistics

    7.42 score 31 stars 1 packages 67 scripts 1.1k downloads 8 mentions 6 exports 28 dependencies

    Last updated 7 months agofrom:22aeefd526. Checks:OK: 5 NOTE: 2. Indexed: yes.

    TargetResultDate
    Doc / VignettesOKNov 12 2024
    R-4.5-winNOTENov 12 2024
    R-4.5-linuxNOTENov 12 2024
    R-4.4-winOKNov 12 2024
    R-4.4-macOKNov 12 2024
    R-4.3-winOKNov 12 2024
    R-4.3-macOKNov 12 2024

    Exports:gam_to_dfinsert_orno_plotor_gamor_glmplot_gam

    Dependencies:clicolorspacefansifarverggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigR6RColorBrewerrlangscalestibbleutf8vctrsviridisLitewithr

    Getting Started

    Rendered fromoddsratio.Rmdusingknitr::rmarkdownon Nov 12 2024.

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