Description Usage Arguments Value
View source: R/ridge_regression.R
Compute a linear regression with gradient descent method.
1 | ridge_regression(form, dat, lambda = 0, contrasts = NULL)
|
form |
A formula with the format of "Y ~ .". |
dat |
A dataframe. |
lambda |
The ridge penalty term lambda set default as 0. |
contrasts |
A list of contrasts. |
A list of coefficients.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.