Skip to content

sparsediscrim

0.3.0Package record

Sparse and Regularized Discriminant Analysis

1packages dependsuggested by 5
31.8Kdownloads / year
73.5%test coverage
11/13flavors OK

Overview

About

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.

Changes in 0.3.0

New CRAN release after archival.

  • Formula method now works for prediction when factors are used as predictors.
  • Predictions now use the type argument.

From NEWS.md in the release

Install

Health

CRAN checks
2NOTE11OK
Check messages
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>.

CRAN check page ↗

Slowest check: 2.2 min · r-oldrel-windows-x86_64
Status changes
  • NOTE11 OK, 2 NOTE2026-05-11
  • WARNING11 OK, 1 NOTE, 1 WARNING2026-05-10
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.3.0
READMEYes · 311 wordsVignettesNoNEWSYes · 100% structured · mentions 0.3.0Citation fileNoWebsiteYes · pkgdown
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

31.8K
CRAN downloads in the past year
Rank #2,464 · ~87/day · ~2.6K/mo
Daily download trend is not available in this view yet.
2.2K30 days
6.6K90 days
31.8K1 year
Compare downloads with other packages →
Also on82 r2u3 autocran141 c2d4u

Repository

3Stars
0Forks
3Open issues
0Open PRs
0Releases
34Commits
1Commit identities
34 commits · Last activity 2021-06-28 · The default branch showed an older version (0.2.5.9000) than CRAN on 2026-10-21
Responsiveness
How these are sampled
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
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (4)
Code of conductContributing guideIssue templatesSupport guide
Docs source (3)
README.Rmd

GitHub Pages site last deployed 2021-06-27 · The repository has a site deploy workflow

Coverage (1)
Coverage reporting (Codecov)
Show all practicesHide 2 practices
CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)

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.

Depends (1)
R >= 2.10
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Imports 1
Suggested by 5
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (2)
Author, Maintainer since 0.3.0 (2021) · added in 0.3.0
Author · added in 0.3.0
original author

Previously maintained by John A. Ramey (0.1.0 to 0.2.4).

Listed in earlier versions (1)
no longer listed · 0.1.0 to 0.2.4
Releases (5)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • unarchivedReturned to CRAN
    2021-07-01
  • 0.3.0Latest
    record
    2021-07-01 · current release · diff ↗ ·
    removed 11 exports
    dlda, dqda, hdrda, hdrda_cv, mdeb, mdmeb, mdmp, sdlda, sdqda, smdlda, smdqda
    added 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
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • archivedRemoved from CRAN
    2018-07-20
    check problems were not corrected despite reminders
  • R
    R 3.5.0 released · 2018-04-23
  • unarchivedReturned to CRAN
    2017-08-14
  • 0.2.4
    record
    2017-08-14 · diff ↗
  • archivedRemoved from CRAN
    2017-04-21
    check errors were not corrected despite reminders
  • R
    R 3.4.0 released · 2017-04-21
Show 7 earlier eventsHide 7 earlier events
  • 0.2.3
    record
    2016-06-24 · diff ↗ ·
    added 3 exports
    cov_autocorrelation, cov_block_autocorrelation, log_determinant
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • R
    R 3.1.0 released · 2014-04-10
  • 0.2
    record
    2014-03-31 · diff ↗ ·
    added 9 exports
    lda_pseudo, lda_schafer, lda_thomaz, mdeb, mdmeb, mdmp, smdlda, smdqda, solve_chol
  • 0.1.0
    record
    2013-05-25
  • R
    R 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")
Kuhn, M., & Ramey, J. (2021). sparsediscrim: Sparse and Regularized Discriminant Analysis (Version 0.3.0) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for sparsediscrim version 0.3.0 [Data set]. HJJB, LLC. Data release v2026-10-23. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy