powered by
Data for Exercise 2.3, 2.39, and 2.54
Register
A data frame with 9 observations on the following 4 variables.
age
a numeric vector
cost
SRES1
FITS1
# NOT RUN { str(Register) attach(Register) plot(age,cost,main="Exercise 2.3") model <- lm(cost~age) abline(model) plot(age,resid(model)) detach(Register) # }
Run the code above in your browser using DataLab