Linear Model with Tree-Based Lasso Regularization for Rare Features
Overview
Implementation of an alternating direction method of multipliers algorithm for fitting a linear model with tree-based lasso regularization, which is proposed in Algorithm 1 of Yan and Bien (2020) doi:10.1080/01621459.2020.1796677. The package allows efficient model fitting on the entire 2-dimensional regularization path for large datasets. The complete set of functions also makes the entire process of tuning regularization parameters and visualizing results hassle-free.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-05-06
- ERROR12 OK, 1 ERROR2026-05-05
- OK14 OK2026-04-22
Show 2 earlier changesHide 2 earlier changes
- ERROR13 OK, 1 ERROR2026-04-18
- OK14 OK2026-03-10
Documentation
- Help pages
- 11includes a package overview page
- Examples that run
- 0%7 never run
- Exported functions with examples
- 100%
- Documented parameters
- 96%
- Return-value docs
- 86%
- Help pages citing references
- 36%
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
Stars over time
Forks over time
PRs over time
3 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/yanxht/rare on 2026-10-18.
Dependencies
Installing rare adds 7 packages (4 with compiled code, 8.2 MB of source tarballs). Heaviest: glmnet 2.7 MB, Rcpp 1.8 MB, RcppEigen 1.7 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.1.2Latest
- 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
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- unarchivedReturned to CRAN2018-08-03
- 0.1.12018-08-03 · diff ↗
- archivedRemoved from CRAN2018-05-07check problems were not corrected despite reminders Array overruns detected by ASAN
- RR 3.5.0 released · 2018-04-23
- 0.1.02018-03-22
- RR 3.4.0 released · 2017-04-21
Package metadata
- First published
- 2018-03-22
- Total releases
- 3 / 8 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.2.1
- Bundled data
- 8.7 KB / 3 files
- Download size
- 2.1 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("rare")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-20, which the citation names so these numbers can be found later. More on citing and the projects behind them.