Description Usage Arguments Value
Computes the earliest (largest) lambda's for which predictors enter the lasso model.
1 2 3 4 5 6 | lasso_max_lambda_lars(X, y, ...)
lasso_max_lambda_glmnet(X, y, nlambda = 200, intercept = T,
standardize = T, ...)
lasso_max_lambda(X, y, method = c("glmnet", "lars"), ...)
|
X |
matrix of predictors |
y |
response vector |
method |
either 'glmnet' or 'lars' |
vector of maximum lambda's
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.