Package: ptLasso 1.0.2

Erin Craig
ptLasso: Pretraining the Lasso
Implements lasso pretraining for generalized linear models for data with grouped observations; data without grouped observations, but with multinomial responses; data with multiple Gaussian responses; and data with repeated measurements over time. The method fits a lasso model to an initial dataset and then uses its support and coefficient values to guide model fitting for a related task, which can improve performance by leveraging larger datasets and preserve interpretability by identifying features which are generally shared, and which are task specific. See Craig et al. (2026) <doi:10.1093/jrsssb/qkaf050> for details. Model fitting in this package is done with cv.glmnet() from the 'glmnet' package, and syntax closely follows that of 'glmnet' (Friedman, Hastie and Tibshirani (2010) <doi:10.18637/jss.v033.i01>).
Authors:
ptLasso_1.0.2.tar.gz
ptLasso_1.0.2.zip(r-4.7-any)ptLasso_1.0.2.zip(r-4.6-any)
ptLasso_1.0.2.tar.gz(r-4.7-any)ptLasso_1.0.2.tar.gz(r-4.6-any)
ptLasso_1.0.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
ptLasso/json (API)
| # Install 'ptLasso' in R: |
| install.packages('ptLasso', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/erincr/ptlasso/issues
Pkgdown/docs site:https://erincr.github.io
Last updated from:9261ccbc1b. Checks:4 WARNING, 2 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | WARNING | 239 | ||
| source / vignettes | OK | 273 | ||
| linux-release-x86_64 | WARNING | 192 | ||
| windows-devel-x86_64 | WARNING | 135 | ||
| windows-release-x86_64 | WARNING | 148 | ||
| wasm-release | OK | 93 |
Exports:binomial.example.datacv.ptLassogaussian.example.dataget.individual.supportget.overall.supportget.pretrain.supportmakedatamakedata.targetgroupsptLasso
Dependencies:clicodetoolscpp11farverforeachggplot2glmnetgluegridExtragtableisobanditeratorslabelinglatticelifecycleMatrixR6RColorBrewerRcppRcppEigenrlangS7scalesshapesurvivalvctrsviridisLitewithr
Last update: 2026-10-27
Started: 2026-10-27
Last update: 2026-10-27
Started: 2026-10-27
Last update: 2026-10-27
Started: 2026-10-27
Last update: 2026-10-27
Started: 2026-10-27
Last update: 2026-10-27
Started: 2026-10-27
