lasso_max_lambda | R Documentation |

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

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

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.