Genetics              package:SASmixed              R Documentation

_H_e_r_i_t_a_b_i_l_i_t_y _d_a_t_a

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

     The 'Genetics' data frame has 60 rows and 4 columns.

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

     This data frame contains the following columns:

     _L_o_c_a_t_i_o_n a factor with levels '1' to '4' 

     _B_l_o_c_k a factor with levels '1' to '3'

     _F_a_m_i_l_y a factor with levels '1' to '5'

     _Y_i_e_l_d a numeric vector of crop yields

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

     Littel, R. C., Milliken, G. A., Stroup, W. W., and Wolfinger, R.
     D. (1996), _SAS System for Mixed Models_, SAS Institute (Data Set
     4.5).

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

     str(Genetics)
     if (require("lme4", quietly = TRUE, character = TRUE)) {
       options(contrasts = c(unordered = "contr.SAS", ordered = "contr.poly"))
       summary(fm1Gen <- lmer(Yield ~ Family + (1|Location/Block), Genetics))
     }

