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.


For help with compiling, see:
https://cdrv.wordpress.com/2013/01/12/getting-compilers-to-work-with-rcpp-rcpparmadillo/
http://thecoatlessprofessor.com/programming/rcpp-rcpparmadillo-and-os-x-mavericks-lgfortran-and-lquadmath-error/

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("penalized")

0.9-53 by Jelle Goeman, a year ago


Browse source code at https://github.com/cran/penalized


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


Documentation:   PDF Manual  


GPL (>= 2) license


Imports Rcpp

Depends on survival, methods

Suggests globaltest

Linking to Rcpp, RcppArmadillo


Imported by DIFboost, DIFlasso, GSelection, c060, flassomsm, hdnom, mispr, mvdalab, penalizedclr, pensim, splmm.

Depended on by DIFtree, structree.

Suggested by catdata, lda, mlr, ordinalNet, peperr, riskRegression, tramnet.


See at CRAN