mpg | R Documentation |
Performance data for the 1973-74 models of 32 autos from the Road Tests Section of Motor Trends magazine. NOTE: data(mtcars) loads essentially the same data, but most variable names are then different and have fewer characters.
data(mpg)
A data frame of 11 variables on 32 autos; no NAs.
number of cylinders.
cubic inches of engine displacement.
engine horsepower.
total weight in pounds.
miles per gallon.
engine shape (0 = V, 1 = Straight).
transmission type (0 = Automatic, 1 = Manual).
number of forward speeds.
number of carburetors.
final drive rtaio.
quarter mile time.
Hocking RA. The Analysis and Selection of Variables in Regression. Biometrics 1976; 32: 1-51.
Henderson HV, Velleman PF. Building multiple regression models interactively. Biometrics 1981; 37: 391-411.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.