cars74 | R Documentation |
The data was extracted from the 1974 Motor Trend US magazine, and comprises fuel consumption and 10 aspects of automobile design and performance for 32 automobiles (1973-74 models).
cars74
A data frame with 32 rows and 11 variables. The variables are as follows:
highway miles per gallon
Miles/(US) gallon
Number of cylinders
Displacement (cu.in.)
Gross horsepower
Rear axle ratio
Weight (1000 lbs)
1/4 mile time
Engine cylinder configuration
Transmission type
Number of forward gears
Number of carburetors
This dataset is the mtcars
dataset that comes
with base R. However, cyl
, vs
, am
, gear
and carb
have been converted
to factors and rownames have been converted to the variable auto
.
A description of the variables by Soren Heitmann can be found
here.
Henderson and Velleman (1981), Building multiple regression models interactively. Biometrics, 37, 391-411.
summary(mtcars)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.