lasso_max_lambda: Maximum lambda in lasso model

Description Usage Arguments Value

Description

Computes the earliest (largest) lambda's for which predictors enter the lasso model.

Usage

1
2
3
4
5
lasso_max_lambda_lars(X, y)

lasso_max_lambda_glmnet(X, y, nlambda = NULL)

lasso_max_lambda(X, y, method = c("glmnet", "lars"), ...)

Arguments

X

matrix of predictors

y

response vector

Value

vector of maximum lambda's



Search within the knockoff package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.