library(Rlab4) library(ggplot2)
This package was developed as part of a LAB assignment at Linkoping Universtiy. The package fits a Linear Regression Model using Ordinary Least Squares and QR decompostion method. So far, only former gives t-values and p-values while the latter gives estimates of beta and residuals and variances of the beta estimates. The functions: - linreg: Linear Regression function by OLS - linreg_QR: Linear Regression function by QR decomposition.
data(faithful) model_obj <- linreg(eruptions ~ waiting, data= faithful) summary(model_obj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.