Computing the residual sum of squares via RSS()
:
x<-runif(1:20) y<-2+3*x+rnorm(20,0,5) fit<-lm(y~x) library(MesFonctions) RSS(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.