powered by
Data for Exercise 9.37
Moisture
A data frame with 16 observations on the following 4 variables.
depth
a numeric vector
moisture
lnmoist
depthsq
# NOT RUN { str(Moisture) attach(Moisture) model <- lm(moisture~depth) plot(depth,resid(model)) detach(Moisture) remove(model) # }
Run the code above in your browser using DataLab