On this Picostat.com statistics page, you will find information about the leaftemp data set which pertains to Leaf and Air Temperature Data. The leaftemp data set is found in the DAAG R package. You can load the leaftemp data set in R by issuing the following command at the console data("leaftemp"). This will load the data into a variable called leaftemp. If R says the leaftemp data set is not found, you can try installing the package by issuing this command install.packages("DAAG") and then attempt to reload the data. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the leaftemp R data set. The size of this file is about 1,399 bytes.
Leaf and Air Temperature Data
These data consist of measurements of vapour pressure and of the
difference between leaf and air temperature.
This data frame contains the following columns:
Carbon Dioxide level
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)
Dataset imported from https://www.r-project.org.