sleep                package:datasets                R Documentation

_S_t_u_d_e_n_t'_s _S_l_e_e_p _D_a_t_a

_D_e_s_c_r_i_p_t_i_o_n:

     Data which show the effect of two soporific drugs (increase in
     hours of sleep) on groups consisting of 10 patients each.

_U_s_a_g_e:

     sleep

_F_o_r_m_a_t:

     A data frame with 20 observations on 2 variables.

       [, 1]  extra  numeric  increase in hours of sleep
       [, 2]  group  factor   patient group

_S_o_u_r_c_e:

     Student (1908) The probable error of the mean. _Biometrika_, *6*,
     20.

_R_e_f_e_r_e_n_c_e_s:

     Scheffe, Henry (1959) _The Analysis of Variance_. New York, NY:
     Wiley.

_E_x_a_m_p_l_e_s:

     require(stats)
     ## ANOVA
     anova(lm(extra ~ group, data = sleep))

