xyplot(gpa ~ hours, data = GPA, type = c("p", "r")) cor(gpa ~ hours, data = GPA) coef(lm(gpa ~ hours, data = GPA))
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.