Sparse and Regularized Discriminant Analysis
Overview
A collection of sparse and regularized discriminant analysis methods intended for small-sample, high-dimensional data sets. The package features the High-Dimensional Regularized Discriminant Analysis classifier from Ramey et al. (2017) arXiv:1602.01182. Other classifiers include those from Dudoit et al. (2002) doi:10.1198/016214502753479248, Pang et al. (2009) doi:10.1111/j.1541-0420.2009.01200.x, and Tong et al. (2012) doi:10.1093/bioinformatics/btr690.
New CRAN release after archival.
- Formula method now works for prediction when factors are used as predictors.
- Predictions now use the
typeargument.
From NEWS.md in the release
Install
Health
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Max Kuhn <mxkuhn@gmail.com>’ The Description field contains classifier from Ramey et al. (2017) <arXiv:1602.01182>. Other Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
- NOTE11 OK, 2 NOTE2026-05-11
- WARNING11 OK, 1 NOTE, 1 WARNING2026-05-10
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 57 (13 internal)
- Examples that run
- 100%19 run in a plain check
- Exported functions with examples
- 64%
- Documented parameters
- 99%
- Return-value docs
- 100%
- Help pages citing references
- 35%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- 0
12 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/topepo/sparsediscrim on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2021-06-27 · The repository has a site deploy workflow
Show all practicesHide 2 practices
Dependencies
Installing sparsediscrim adds 28 packages (14 with compiled code, 17 MB of source tarballs). Heaviest: ggplot2 6.0 MB, isoband 1.5 MB, farver 1.2 MB.
Code & Tests
Datasets
People & History
Previously maintained by John A. Ramey (0.1.0 to 0.2.4).
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- unarchivedReturned to CRAN2021-07-01
- 0.3.0Latest2021-07-01 · current release · diff ↗ ·
removed 11 exports
dlda, dqda, hdrda, hdrda_cv, mdeb, mdmeb, mdmp, sdlda, sdqda, smdlda, smdqdaadded 12 exports
lda_diag, lda_eigen, lda_emp_bayes, lda_emp_bayes_eigen, lda_shrink_cov, lda_shrink_mean, no_intercept, qda_diag, qda_shrink_cov, qda_shrink_mean, rda_high_dim, rda_high_dim_cv - RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- archivedRemoved from CRAN2018-07-20check problems were not corrected despite reminders
- RR 3.5.0 released · 2018-04-23
- unarchivedReturned to CRAN2017-08-14
- 0.2.42017-08-14 · diff ↗
- archivedRemoved from CRAN2017-04-21check errors were not corrected despite reminders
- RR 3.4.0 released · 2017-04-21
Show 7 earlier eventsHide 7 earlier events
- 0.2.32016-06-24 · diff ↗ ·
added 3 exports
cov_autocorrelation, cov_block_autocorrelation, log_determinant - RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
- RR 3.1.0 released · 2014-04-10
- 0.22014-03-31 · diff ↗ ·
added 9 exports
lda_pseudo, lda_schafer, lda_thomaz, mdeb, mdmeb, mdmp, smdlda, smdqda, solve_chol - 0.1.02013-05-25
- RR 3.0.0 released · 2013-04-03
Package metadata
- First published
- 2013-05-25
- Total releases
- 5 / 13 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 2.10
- Bundled data
- 12 KB / 1 file
- Download size
- 143 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("sparsediscrim")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.