The package provides two functions. The first function is called linreg
. This function performs linear regression using ordinary least squares. The function
returns an object of the S3 class "linreg" which can be explored with the following methods:
coef.linreg
plot.linreg
predict.linreg
print.linreg
residuals.linreg
summary.linreg
The second function is called ridgereg
. This function performs ridge regression using ordinary least squares. The function
returns an object of the S3 class "ridgereg" which can be explored with the following methods:
coef.ridgereg
predict.ridgereg
print.ridgereg
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.