Package: penalized 0.9-53

Jelle Goeman

penalized: L1 (Lasso and Fused Lasso) and L2 (Ridge) Penalized Estimation in GLMs and in the Cox Model

Fitting possibly high dimensional penalized regression models. The penalty structure can be any combination of an L1 penalty (lasso and fused lasso), an L2 penalty (ridge) and a positivity constraint on the regression coefficients. The supported regression models are linear, logistic and Poisson regression and the Cox Proportional Hazards model. Cross-validation routines allow optimization of the tuning parameters.

Authors:Jelle Goeman [aut, cre], Rosa Meijer [aut], Nimisha Chaturvedi [aut], Matthew Lueder [aut]

penalized_0.9-53.tar.gz
penalized_0.9-53.tar.gz(r-4.7-arm64)penalized_0.9-53.tar.gz(r-4.7-x86_64)penalized_0.9-53.tar.gz(r-4.6-arm64)penalized_0.9-53.tar.gz(r-4.6-x86_64)
penalized_0.9-53.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
penalized/json (API)

# Install 'penalized' in R:
install.packages('penalized', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))
Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
Datasets:
  • nki70 - The 70 gene signature of the Netherlands Cancer Institute for prediction of metastasis-free survival, measured on 144 independent lymph node positive patients.

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

openblascpp

7.30 score 4 stars 17 packages 310 scripts 6.3k downloads 5 mentions 28 exports 5 dependencies

Last updated from:2bd3dc37a9. Checks:6 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK195
linux-devel-x86_64OK153
source / vignettesOK229
linux-release-arm64OK164
linux-release-x86_64OK159
wasm-releaseOK125

Exports:as.data.frameas.listas.matrixbasehazbasesurvcoefcoefficientscontr.diffcontr.nonecvlfittedfitted.valueslinear.predictorsloglikoptL1optL2penalizedpenaltyplotplotpathpredictprofL1profL2residualsshowsurvivaltimeweights

Dependencies:latticeMatrixRcppRcppArmadillosurvival

Penalized user guide

Rendered frompenalized.Rnwusingutils::Sweaveon May 26 2026.

Last update: 2022-04-23
Started: 2012-02-10

Readme and manuals

Help Manual

Help pageTopics
Breslow estimator objectas.data.frame,breslow-method as.list,breslow-method as.matrix,breslow-method breslow breslow-class plot,breslow-method show,breslow-method survival survival,breslow-method time,breslow-method [,breslow,ANY,ANY,ANY-method [,breslow-method [[,breslow-method
Cross-validated penalized regressioncvl optL1 optL2 profL1 profL2
The 70 gene signature of the Netherlands Cancer Institute for prediction of metastasis-free survival, measured on 144 independent lymph node positive patients.nki70
Penalized regressionpenalized
Contrast functions for penalized regressioncontr.diff contr.none
Penalized regression objectas.data.frame,penfit-method basehaz,penfit-method basesurv basesurv,penfit-method coef,penfit-method coefficients,penfit-method fitted,penfit-method fitted.values,penfit-method linear.predictors linear.predictors,penfit-method loglik loglik,penfit-method penalty penalty,penfit-method penfit penfit-class residuals,penfit-method show,penfit-method weights,penfit-method
Plotting the LASSO pathplotpath
Prediction based on penfit objectspredict predict,penfit-method