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 05 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

quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
envirem  
Generation of ENVIREM Variables
Generation of bioclimatic rasters that are complementary to the typical 19 bioclim variables. ...
Download / Learn more Package Citations See dependency  
msm  
Multi-State Markov and Hidden Markov Models in Continuous Time
Functions for fitting continuous-time Markov and hidden Markov multi-state models to longitudinal d ...
Download / Learn more Package Citations See dependency  
crossurr  
Cross-Fitting for Doubly Robust Evaluation of High-Dimensional Surrogate Markers
Doubly robust methods for evaluating surrogate markers as outlined in: Agniel D, Hejblum BP, Thiebau ...
Download / Learn more Package Citations See dependency  
ibb  
R Wrapper for Istanbul Municipality Open Data Portal
Call wrappers for Istanbul Metropolitan Municipality's Open Data Portal (Turkish: Istanbul B ...
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