

mtcars {base}                                R Documentation

_M_o_t_o_r _T_r_e_n_d _R_o_a_d _T_e_s_t_s

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

     The data was extracted from 1974 Motor Trend magazine,
     and comprises gasoline mileage in gallons per mile
     (GPM) and 10 aspects of automobile design and perfor-
     mance for 32 automobiles (1973-74 models).

_U_s_a_g_e_:

     data(mtcars)

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

     A data frame with 32 observations on 11 variables.

      [, 1]     mpg      Miles/gallon
      [, 2]     cyl      Number of cylinders
      [, 3]     disp     Displacement (cu.in.)
      [, 4]     hp       Gross horsepower
      [, 5]     drat     Rear axle ratio
      [, 6]     wt       Weight (lb/1000)
      [, 7]     qsec     1/4 mile time
      [, 8]     vs       V/S
      [, 9]     am       Transmission (0 = automatic, 1 = manual)
      [,10]     gear     Number of forward gears
      [,11]     carb     Number of carburettors

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

     Henderson and Velleman (1981), Building multiple
     regression models interactively.  Biometrics, 37,
     391-411.

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

     data(mtcars)
     pairs(mtcars, main = "mtcars data")
     coplot(mpg ~ disp | as.factor(cyl), data = mtcars,
            panel = panel.smooth, rows = 1)

