sparsegl: Sparse Group Lasso

Efficient implementation of sparse group lasso with optional bound constraints on the coefficients. It supports the use of a sparse design matrix as well as returning coefficient estimates in a sparse matrix. Furthermore, it correctly calculates the degrees of freedom to allow for information criteria rather than cross-validation with very large data. Finally, the interface to compiled code avoids unnecessary copies and allows for the use of long integers.

Version: 1.1.0
Depends: R (≥ 3.5)
Imports: cli, dotCall64, ggplot2, magrittr, Matrix, methods, rlang, RSpectra, tidyr
Suggests: dplyr, gglasso, glmnet, knitr, markdown, rmarkdown, splines, testthat (≥ 3.0.0)
Published: 2024-06-26
DOI: 10.32614/CRAN.package.sparsegl
Author: Daniel J. McDonald [aut, cre], Xiaoxuan Liang [aut], Anibal Solón Heinsfeld [aut], Aaron Cohen [aut], Yi Yang [ctb], Hui Zou [ctb], Jerome Friedman [ctb], Trevor Hastie [ctb], Rob Tibshirani [ctb], Balasubramanian Narasimhan [ctb], Kenneth Tay [ctb], Noah Simon [ctb], Junyang Qian [ctb], James Yang [ctb]
Maintainer: Daniel J. McDonald <daniel at>
License: MIT + file LICENSE
NeedsCompilation: yes
Materials: README NEWS
CRAN checks: sparsegl results


Reference manual: sparsegl.pdf
Vignettes: Getting started with sparsegl


Package source: sparsegl_1.1.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): sparsegl_1.1.0.tgz, r-oldrel (arm64): sparsegl_1.1.0.tgz, r-release (x86_64): sparsegl_1.1.0.tgz, r-oldrel (x86_64): sparsegl_1.1.0.tgz
Old sources: sparsegl archive

Reverse dependencies:

Reverse depends: absorber


Please use the canonical form to link to this page.