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

    6 exports 31 stars 3.30 score 28 dependencies 1 dependents 8 mentions 66 scripts 731 downloads

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

    TargetResultDate
    Doc / VignettesOKSep 13 2024
    R-4.5-winNOTESep 13 2024
    R-4.5-linuxNOTESep 13 2024
    R-4.4-winOKSep 13 2024
    R-4.4-macOKSep 13 2024
    R-4.3-winOKSep 13 2024
    R-4.3-macOKSep 13 2024

    Exports:gam_to_dfinsert_orno_plotor_gamor_glmplot_gam

    Dependencies:clicolorspacefansifarverggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigR6RColorBrewerrlangscalestibbleutf8vctrsviridisLitewithr

    Getting Started

    Rendered fromoddsratio.Rmdusingknitr::rmarkdownon Sep 13 2024.

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