Lifespan {BSDA} | R Documentation |
Data for Exercise 2.4, 2.37, and 2.49
Lifespan
A data frame with 6 observations on the following 4 variables.
heat
life
RESI1
FITS1
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Duxbury
str(Lifespan) attach(Lifespan) plot(heat,life) model <- lm(life~heat) model resid(model) sum((resid(model))^2) anova(model) # plot(model) # Used for diagnostic purposes detach(Lifespan)