leaftemp                package:DAAG                R Documentation

_L_e_a_f _a_n_d _A_i_r _T_e_m_p_e_r_a_t_u_r_e _D_a_t_a

_D_e_s_c_r_i_p_t_i_o_n:

     These data consist of measurements of vapour pressure and of the 
     difference between leaf and air temperature.

_U_s_a_g_e:

     leaftemp

_F_o_r_m_a_t:

     This data frame contains the following columns:

     _C_O_2_l_e_v_e_l Carbon Dioxide level 'low', 'medium', 'high' 

     _v_a_p_P_r_e_s_s Vapour pressure

     _t_e_m_p_D_i_f_f Difference between leaf and air temperature

     _B_t_e_m_p_D_i_f_f a numeric vector

_S_o_u_r_c_e:

     Katharina Siebke and Susan von Cammerer, Australian National
     University.

_E_x_a_m_p_l_e_s:

     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)

