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 06 Oct. 2026.
Previous versions and publish date:
(2026-07-09 06:36), 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

gecko  
Geographical Ecology and Conservation Knowledge Online
Includes a collection of geographical analysis functions aimed primarily at ecology and conservation ...
Download / Learn more Package Citations See dependency  
gRim  
Graphical Interaction Models
Provides the following types of models: Models for contingency tables (i.e. log-linear models) Grap ...
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  

28,905

R Packages

247,686

Dependencies

76,495

Author Associations

28,906

Publication Badges

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