Learn R Programming

penalized (version 0.9-52)

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

Description

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.

Copy Link

Version

Install

install.packages('penalized')

Monthly Downloads

2,604

Version

0.9-52

License

GPL (>= 2)

Maintainer

Last Published

April 23rd, 2022

Functions in penalized (0.9-52)

penfit object

Penalized regression object
Prediction from penalized models

Prediction based on penfit objects
Penalized regression contrasts

Contrast functions for penalized regression
breslow object

Breslow estimator object
Penalized generalized linear models

Penalized regression
Netherlands Cancer Institute 70 gene signature

The 70 gene signature of the Netherlands Cancer Institute for prediction of metastasis-free survival, measured on 144 independent lymph node positive patients.
Cross-validation in penalized generalized linear models

Cross-validated penalized regression
Plotting the LASSO path

Plotting the LASSO path