PBIB                package:SASmixed                R Documentation

_A _p_a_r_t_i_a_l_l_y _b_a_l_a_n_c_e_d _i_n_c_o_m_p_l_e_t_e _b_l_o_c_k _e_x_p_e_r_i_m_e_n_t

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

     The 'PBIB' data frame has 60 rows and 3 columns.

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

     This data frame contains the following columns:

     _r_e_s_p_o_n_s_e a numeric vector

     _T_r_e_a_t_m_e_n_t a factor with levels '1' to '15' 

     _B_l_o_c_k an ordered factor with levels '1' to '15' 

_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
     1.5.1).

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

     str(PBIB)
     if (require("lme4", quietly = TRUE, character = TRUE)) {
       options(contrasts = c(unordered = "contr.SAS", ordered = "contr.poly"))
       ## compare with output 1.7  pp. 24-25
       print(fm1PBIB <- lmer(response ~ Treatment + (1|Block), PBIB))
       print(anova(fm1PBIB))
     }

