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:

     Scheff, 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))

