| AutoMPG | R Documentation |
A data set containing data on predicting the MPG of 392 automobiles based on the number of cylinders, engine displacement, engine horsepower, vehicle weight, acceleration, and year.
data(AutoMPG)
A data frame with 392 observations on the following variables.
MPG
Cylinders (number of cylinders in engine)
Displacement (in cubic inches)
Horsepower
Weight (in pounds)
Acceleration (in meters per second squared)
Year (year of production; e.g. 70 is the year 1970)
Data on predicting the MPG of 392 automobiles based on the number of cylinders, engine displacement, engine horsepower, vehicle weight, acceleration, and year. Accessed on August 3, 2025.
https://archive.ics.uci.edu/dataset/9/auto+mpg
data(AutoMPG)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.