toycars                 package:DAAG                 R Documentation

_T_o_y _C_a_r_s _D_a_t_a

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

     The 'toycars' data frame has 27 rows and 3 columns. Observations
     are on the distance traveled by one of three different toy cars on
     a smooth surface, starting from rest at the top of a 16 inch long
     ramp tilted at varying angles.

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

     toycars

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

     This data frame contains the following columns:

     _a_n_g_l_e tilt of ramp, in degrees

     _d_i_s_t_a_n_c_e distance traveled, in meters

     _c_a_r a numeric code (1 = first car, 2 = second car, 3 = third  car)

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

     toycars.lm <- lm(distance ~ angle + factor(car), data=toycars)
     summary(toycars.lm)

