The goal of glmdisc is to discretize continuous features, merge factor levels, and sparsely introduce interactions in logistic regression models.


You can install the development version of glmdisc from Github with:

# install.packages("devtools")
devtools::install_github("adimajo/glmdisc", build_vignettes = TRUE)

Or alternatively directly from CRAN:


For further instructions, go to vignettes > glmdisc.Rmd or go through the vignette directly in RStudio by typing “vignette(‘glmdisc’)” once the package is installed and loaded.