Energy {BSDA} | R Documentation |
Data for Exercises 2.5, 2.24, and 2.55
Energy
A data frame with 12 observations on the following 5 variables.
Size
kilowatt
SRES1
FITS1
Residuals
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Duxbury
str(Energy) attach(Energy) plot(Size,kilowatt) cor(Size,kilowatt) model <- lm(kilowatt~Size) plot(Size,resid(model)) detach(Energy)