Description Usage Arguments Examples
Wrapper for the ridge regression function in MASS package to use with predict and residuals function. Prediction are obtained using the best regularization values.
1 2 3 4 5 6 7 |
form |
Formula of the model |
x, xnew |
Data frame of the data |
lambda |
List of regularization value |
optim |
Criteria to choose the best lambda |
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.