Description Usage Arguments Value Examples
View source: R/ridge_regression.R
Implement a ridge regression taking collinear features into account.
1 | ridge_regression(formula, data, lambda, intercept = TRUE)
|
formula |
An object of class formula to describe how the model is fitted. |
data |
A data frame. |
lambda |
An object of class numeric for the shrinkage parameter lambda. |
intercept |
A logical value to indicate if intercept is included, default = TRUE |
A list of vectors for coefficients, lambda and formula.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.