weightgain               package:HSAUR               R Documentation

_G_a_i_n _i_n _W_e_i_g_h_t _o_f _R_a_t_s

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

     The data arise from an experiment to study the gain in weight of
     rats fed on four different diets, distinguished by amount of
     protein (low and high) and by source of protein (beef and cereal).

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

     data("weightgain")

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

     A data frame with 40 observations on the following 3 variables.

     '_s_o_u_r_c_e' source of protein given, a factor with levels 'Beef' and
          'Cereal'.

     '_t_y_p_e' amount of protein given, a factor with levels 'High' and
          'Low'.

     '_w_e_i_g_h_t_g_a_i_n' weigt gain in grams.

_D_e_t_a_i_l_s:

     Ten rats are randomized to each of the four treatments. The
     question of interest is how diet affects weight gain.

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

     D. J. Hand, F. Daly, A. D. Lunn, K. J. McConway and E. Ostrowski
     (1994). _A Handbook of Small Datasets_, Chapman and Hall/CRC,
     London.

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

       data("weightgain", package = "HSAUR")
       interaction.plot(weightgain$type, weightgain$source, 
                        weightgain$weightgain)

