leaftemp | R Documentation |
Data are measurements of vapour pressure and of the difference between leaf and air temperature.
leaftemp
This data frame contains the following columns:
Carbon Dioxide level
low
, medium
, high
Vapour pressure
Difference between leaf and air temperature
a numeric vector
Katharina Siebke and Susan von Cammerer, Australian National University.
print("Fitting Multiple Lines - Example 7.3")
leaf.lm1 <- lm(tempDiff ~ 1 , data = leaftemp)
leaf.lm2 <- lm(tempDiff ~ vapPress, data = leaftemp)
leaf.lm3 <- lm(tempDiff ~ CO2level + vapPress, data = leaftemp)
leaf.lm4 <- lm(tempDiff ~ CO2level + vapPress + vapPress:CO2level,
data = leaftemp)
anova(leaf.lm1, leaf.lm2, leaf.lm3, leaf.lm4)
summary(leaf.lm2)
plot(leaf.lm2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.