Gas mileage, horsepower, and other information for 392 vehicles.
A data frame with 392 observations on the following 9 variables.
miles per gallon
Number of cylinders between 4 and 8
Engine displacement (cu. inches)
Vehicle weight (lbs.)
Time to accelerate from 0 to 60 mph (sec.)
Model year (modulo 100)
Origin of car (1. American, 2. European, 3. Japanese)
The orginal data contained 408 observations but 16 observations with missing values were removed.
This dataset was taken from the StatLib library which is maintained at Carnegie Mellon University. The dataset was used in the 1983 American Statistical Association Exposition.
James, G., Witten, D., Hastie, T., and Tibshirani, R. (2013) An Introduction to Statistical Learning with applications in R, https://www.statlearning.com, Springer-Verlag, New York
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.