Goal: After completing this lab, you should be able to…

In this lab we will use, but not focus on…

Some additional notes:


Exercise 0A - Using lm()

In class we looked at the (boring) cars dataset. Use ?cars to learn more about this dataset. (For example, the year that it was gathered.)

head(cars)
##   speed dist
## 1     4    2
## 2     4   10
## 3     7    4
## 4     7   22
## 5     8   16
## 6     9   10
plot(dist ~ speed, data = cars, pch = 20)
grid()