Threshold for the knockoff filter

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

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"), ...)
``` |

`X` |
matrix of predictors |

`y` |
response vector |

vector of maximum lambda's

Questions? Problems? Suggestions? Tweet to @rdrrHQ 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.