Threshold for the knockoff filter

Description Usage Arguments Value

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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.