Other packages > Find by keyword >

oddsratio  

Odds Ratio Calculation for GAM(M)s & GLM(M)s
View on CRAN: Click here


Download and install oddsratio package within the R console
Install from CRAN:
install.packages("oddsratio")

Install from Github:
library("remotes")
install_github("cran/oddsratio")

Install by package version:
library("remotes")
install_version("oddsratio", "2.0.2")



Attach the package and use:
library("oddsratio")
Maintained by
Patrick Schratz
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2016-10-12
Latest Update: 2025-04-08
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.
How to cite:
Patrick Schratz (2016). oddsratio: Odds Ratio Calculation for GAM(M)s & GLM(M)s. R package version 2.0.2, https://cran.r-project.org/web/packages/oddsratio. Accessed 04 Jun. 2026.
Previous versions and publish date:
0.2 (2016-10-12 00:03), 0.3.0 (2016-10-27 23:58), 0.3.1 (2016-11-13 01:41), 1.0.0 (2017-06-13 00:08), 1.0.2 (2017-12-07 16:51), 1.0.3 (2018-07-25 14:20), 2.0.0 (2019-06-13 18:30), 2.0.1 (2020-05-25 00:00)
Other packages that cited oddsratio R package
View oddsratio citation profile
Other R packages that oddsratio depends, imports, suggests or enhances
Complete documentation for oddsratio
Functions, R codes and Examples using the oddsratio R package
Some associated functions: data_gam . data_glm . gam_to_df . insert_or . no_plot . or_gam . or_glm . plot_gam . 
Some associated R codes: data.R . helper_funs.R . insert_or.R . or_gam.R . or_glm.R . plot_gam.R .  Full oddsratio package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

crplyr  
A 'dplyr' Interface for Crunch
In order to facilitate analysis of datasets hosted on the Crunch data platform ...
Download / Learn more Package Citations See dependency  
shinybusy  
Busy Indicators and Notifications for 'Shiny' Applications
Add indicators (spinner, progress bar, gif) in your 'shiny' applications to show the user that the ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
AMPLE  
Shiny Apps to Support Capacity Building on Harvest Control Rules
Three Shiny apps are provided that introduce Harvest Control Rules (HCR) for fisheries management. ...
Download / Learn more Package Citations See dependency  
murphydiagram  
Murphy Diagrams for Forecast Comparisons
Data and code for the paper by Ehm, Gneiting, Jordan and Krueger ('Of Quantiles and Expectiles: Con ...
Download / Learn more Package Citations See dependency  
phers  
Calculate Phenotype Risk Scores
Use phenotype risk scores based on linked clinical and genetic data to study Mendelian disease and ...
Download / Learn more Package Citations See dependency  

27,268

R Packages

233,548

Dependencies

72,590

Author Associations

27,205

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA