powered by
Energy
str(Energy) attach(Energy) plot(Size,kilowatt) cor(Size,kilowatt) model <- lm(kilowatt~Size) plot(Size,resid(model)) detach(Energy)
Run the code above in your browser using DataLab