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.zip(r-4.5-any)
ptLasso_1.0.2.tgz(r-4.6-any)ptLasso_1.0.2.tgz(r-4.5-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://erincr.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:3d8b8f8813. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 239 | ||
| source / vignettes | OK | 442 | ||
| linux-release-x86_64 | OK | 433 | ||
| macos-release-arm64 | OK | 334 | ||
| macos-oldrel-arm64 | OK | 422 | ||
| windows-devel-x86_64 | OK | 780 | ||
| windows-release-x86_64 | OK | 566 | ||
| windows-oldrel-x86_64 | OK | 274 | ||
| wasm-release | OK | 230 |
Exports:binomial.example.datacv.ptLassogaussian.example.dataget.individual.supportget.overall.supportget.pretrain.supportmakedatamakedata.targetgroupsptLasso
Dependencies:clicodetoolscpp11farverforeachggplot2glmnetgluegridExtragtableisobanditeratorslabelinglatticelifecycleMatrixR6RColorBrewerRcppRcppEigenrlangS7scalesshapesurvivalvctrsviridisLitewithr
Last update: 2025-08-26
Started: 2024-04-03
Last update: 2025-08-26
Started: 2024-06-19
Last update: 2025-08-26
Started: 2024-06-13
Last update: 2024-06-27
Started: 2024-06-19
Last update: 2024-06-19
Started: 2024-04-03
