Skip to contents

grpreg is an R package for fitting the regularization path of linear regression, GLM, and Cox regression models with grouped penalties. This includes group selection methods such as group lasso, group MCP, and group SCAD as well as bi-level selection methods such as the group exponential lasso, the composite MCP, and the group bridge. Utilities for carrying out cross-validation as well as post-fitting visualization, summarization, and prediction are also provided.

Install

  • To install the latest release version from CRAN: install.packages("grpreg")
  • To install the latest development version from GitHub: remotes::install_github("pbreheny/grpreg")

Get started

See the “getting started” vignette

Learn more

More specific details on the models and penalties used in grpreg are available in the “Learn more” menu.