library(boxlinre) library(ggplot2) library(gridExtra) data(iris)
formula = Sepal.Length ~ Sepal.Width + Petal.Length + Petal.Width m = linreg$new( Sepal.Length ~ Sepal.Width + Petal.Length + Petal.Width, data=iris) m$summary()
The model is fitted and we can see the summary about coefficients.
First the residuals:
resi<-m$resid() summary(resi)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.