powered by
The p7.17 data frame has 6 observations on vapor pressure of water at various temperatures. This data set is the same as p7.15 which was used for exercise 7-15 in the third edition of MPV.
p7.17
p7.15
data(p7.17)
This data frame contains the following columns:
vapor pressure (mm Hg)
temperature (degrees Celsius)
y.lm <- lm(y ~ x, data=p7.17) plot(y ~ x, data=p7.17) abline(coef(y.lm)) plot(y.lm, which=1)
Run the code above in your browser using DataLab