Description Usage Arguments Value
View source: R/model_functions.R
This function computes a grid of lambda values for the LASSO analysis
1 | lambda.grid(y, x, nlambda = 100)
|
y |
is the reponse vector of the training set |
nlambda |
is the nuber of lambda to generatea |
X |
is the matrix of the dataset with samples on the rows and features on the column |
a numeric vector of length nlabmda
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.