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