Skip to content

sparseR

Variable Selection under Ranked Sparsity Principles for Interactions and Polynomials

v0.3.2 · Apr 14, 2025 · GPL-3

Description

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.

Downloads

250

Last 30 days

16950th

677

Last 90 days

3.1K

Last year

Trend: +66.7% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

package dependencies

Package required but not available: ‘recipes’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies ncvreg rlang magrittr dplyr recipes sparseR

Version History

8 tracked
new 0.3.2 Mar 10, 2026
updated 0.3.2 ← 0.3.1 diff Apr 13, 2025
updated 0.3.1 ← 0.3.0 diff Jul 17, 2024
updated 0.3.0 ← 0.2.3 diff Jun 25, 2024
updated 0.2.3 ← 0.2.2 diff Dec 5, 2023
updated 0.2.2 ← 0.2.1 diff Mar 28, 2023
updated 0.2.1 ← 0.2.0 diff Nov 9, 2022
new 0.2.0 Aug 16, 2022