Description Usage Arguments Examples
This function is for ridge regression
1 |
formula |
a formula of linear model |
data_frame |
a data_frame |
contrasts |
Default is NULL. a list of constasts for factor variable |
lambda |
The penalty parametor for ridge regression |
1 2 | data(iris)
lm_ridge(Sepal.Length ~ ., iris,lambda=0.5)$coefficients
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.