inst/snippets/Figure10.10.R

xyplot(gpa ~ hours, data = GPA, type = c("p", "r"))
cor(gpa ~ hours, data = GPA)
coef(lm(gpa ~ hours, data = GPA))
rpruim/ISIwithR documentation built on May 28, 2019, 1:30 a.m.