On this R-data statistics page, you will find information about the mtcars data set which pertains to Motor Trend Car Road Tests. The mtcars data set is found in the datasets R package. You can load the mtcars data set in R by issuing the following command at the console data("mtcars"). This will load the data into a variable called mtcars. If R says the mtcars data set is not found, you can try installing the package by issuing this command install.packages("datasets") and then attempt to reload the data. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the mtcars R data set. The size of this file is about 1,716 bytes.
Motor Trend Car Road Tests
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).
A data frame with 32 observations on 11 variables.
R project statistics dataset table
||Number of cylinders
||Rear axle ratio
||Weight (1000 lbs)
||1/4 mile time
||Transmission (0 = automatic, 1 = manual)
||Number of forward gears
||Number of carburetors
Henderson and Velleman (1981), Building multiple regression models interactively. Biometrics, 37, 391–411.
pairs(mtcars, main = "mtcars data")
coplot(mpg ~ disp | as.factor(cyl), data = mtcars,
panel = panel.smooth, rows = 1)
Dataset imported from https://www.r-project.org.