Description Usage Arguments Value Examples
Fitting a linear model using ridge regression
1 | my_ridge(form, d, lambda, tol = 1e-08)
|
form |
A formula specifying the model. |
d |
A dataframe. |
lambda |
The tuning parameter for the ridge penalty term |
tol |
Tolerance for the condition number to truncate colinear variables |
A list with fitted coefficients, regression data X,Y and tolerance
1 | my_ridge(Sepal.Length~.,iris,lambda=0.01,tol=1e-8)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.