October 2017
Beginner to intermediate
572 pages
26h 1m
English
Besides the lm function, you can also use the lsfit function to perform simple linear regression. For example:
> plot(Quartet$x, Quartet$y1) > lmfit2 = lsfit(Quartet$x,Quartet$y1) > abline(lmfit2, col="red")

Read now
Unlock full access