powered by
Data for Exercises 2.21, 9.14, and 9.32
Gym
A data frame with 8 observations on the following 3 variables.
age
a numeric vector
number
x.
# NOT RUN { str(Gym) attach(Gym) plot(age,number) model <- lm(number~age) abline(model) cor(age,number) detach(Gym) # }
Run the code above in your browser using DataLab