Package: sparseR 0.3.2

sparseR: Variable Selection under Ranked Sparsity Principles for Interactions and Polynomials

An implementation of ranked sparsity methods, including penalized regression methods such as the sparsity-ranked lasso, its non-convex alternatives, and elastic net, as well as the sparsity-ranked Bayesian Information Criterion. As described in Peterson and Cavanaugh (2022) <doi:10.1007/s10182-021-00431-7>, ranked sparsity is a philosophy with methods primarily useful for variable selection in the presence of prior informational asymmetry, which occurs in the context of trying to perform variable selection in the presence of interactions and/or polynomials. Ultimately, this package attempts to facilitate dealing with cumbersome interactions and polynomials while not avoiding them entirely. Typically, models selected under ranked sparsity principles will also be more transparent, having fewer falsely selected interactions and polynomials than other methods.

Authors:Ryan Andrew Peterson [aut, cre]

sparseR_0.3.2.tar.gz
sparseR_0.3.2.zip(r-4.7)sparseR_0.3.2.zip(r-4.6)sparseR_0.3.2.zip(r-4.5)
sparseR_0.3.2.tgz(r-4.6-any)sparseR_0.3.2.tgz(r-4.5-any)
sparseR_0.3.2.tar.gz(r-4.7-any)sparseR_0.3.2.tar.gz(r-4.6-any)
sparseR_0.3.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
sparseR/json (API)
NEWS

# Install 'sparseR' in R:
install.packages('sparseR', repos = c('https://petersonr.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/petersonr/sparser/issues

Pkgdown/docs site:https://petersonr.github.io

Datasets:

On CRAN:

Conda:

4.95 score 6 stars 15 scripts 209 downloads 12 exports 64 dependencies

Last updated from:2255042355. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK196
source / vignettesOK258
linux-release-x86_64OK220
macos-release-arm64OK185
macos-oldrel-arm64OK213
windows-develOK158
windows-releaseOK146
windows-oldrelOK139
wasm-releaseOK139

Exports:%>%EBICeffect_plotget_penaltiesRAICRBICsparseRsparseR_prepsparseRBIC_bootstrapsparseRBIC_sampsplitsparseRBIC_stepstep_center_to

Dependencies:classcliclockcodetoolscpp11data.tablediagramdigestdplyrfarverfuturefuture.applygenericsggplot2globalsgluegowergtablehardhatipredisobandKernSmoothlabelinglatticelavalifecyclelistenvlubridatemagrittrMASSMatrixncvregnnetnumDerivparallellypillarpkgconfigprodlimprogressrpurrrR6RColorBrewerRcpprecipesrlangrpartS7scalesshapesparsevctrsSQUAREMstringistringrsurvivaltibbletidyrtidyselecttimechangetimeDatetzdbutf8vctrsviridisLitewithr

Using the sparseR package

Rendered fromsparseR.Rmdusingknitr::rmarkdownon May 07 2026.

Last update: 2025-04-14
Started: 2021-07-03