Learn R Programming

Bug fixes:

  • predict.pcLasso now works when family = “binomial” (previously, the intercept term was being added in an incorrect manner).
  • Previously, standardize = TRUE scaled the beta coefficients and intercept a0 incorrectly. This has been fixed.
  • pcLasso now generates lambda values for the objective function RSS/(2n) + penalty, instead of that for RSS/2 + penalty.

Copy Link

Version

Install

install.packages('pcLasso')

Monthly Downloads

150

Version

1.2

License

GPL-3

Maintainer

Rob Tibshirani

Last Published

September 3rd, 2020

Functions in pcLasso (1.2)

predict.pcLasso

Make predictions from a "pcLasso" object
plot.cv.pcLasso

Plot the cross-validation curve produced by "cv.pcLasso" object
pcLasso

Fit a model with principal components lasso
cv.pcLasso

Cross-validation for pcLasso
predict.cv.pcLasso

Make predictions from a "cv.pcLasso" object