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 13 Mar. 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

beezdemand  
Behavioral Economic Easy Demand
Facilitates many of the analyses performed in studies of behavioral economic demand. The package su ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
bzinb  
Bivariate Zero-Inflated Negative Binomial Model Estimator
Provides a maximum likelihood estimation of Bivariate Zero-Inflated Negative Binomial (BZINB) model ...
Download / Learn more Package Citations See dependency  
coalitions  
Bayesian "Now-Cast" Estimation of Event Probabilities in Multi-Party Democracies
An implementation of a Bayesian framework for the opinion poll based estimation of event probabilit ...
Download / Learn more Package Citations See dependency  
Rlabkey  
Data Exchange Between R and 'LabKey' Server
The 'LabKey' client library for R makes it easy for R users to load live data from a 'LabKey' Serve ...
Download / Learn more Package Citations See dependency  
pedsuite  
Easy Installation of the 'pedsuite' Packages for Pedigree Analysis
The 'ped suite' is a collection of packages for pedigree analysis, covering applications in forensi ...
Download / Learn more Package Citations See dependency  

26,293

R Packages

225,784

Dependencies

70,376

Author Associations

26,294

Publication Badges

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