lasso_max_lambda: Maximum lambda in lasso model
Description
Computes the earliest (largest) lambda's for which predictors enter the
lasso model.
Usage
lasso_max_lambda(X, y, method = c("glmnet", "lars"), ...)
Value
vector of maximum lambda's
Arguments
- X
matrix of predictors
- y
response vector
- method
either 'glmnet' or 'lars'