Description Usage Arguments Value Examples
View source: R/lm_ridge_lambda_best.R
This function is used to select the optimal lambda in ridge regression using my own method.
1 |
formula |
a symbolic description of the model to be fitted. |
data |
a dataframe containing the variables in the model. |
the best lambda in ridge regression given by my own method.
1 | lm_ridge_lambda_best(Sepal.Width~.,iris)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.