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. Six instances containing
missing values had been deleted.
Usage
data("autompg")
Arguments
Format
A data frame with 392 observations on the following 8 variables.
mpg
a numeric vector indicating the mileage per gallon comsumption
cylinders
a numeric vector indicating the automobile's cylinders
displacement
a numeric vector
horsepower
a numeric vector
weight
a numeric vector
acceleration
a numeric vector
modelyear
a numeric vector indicating the automobile's year model
maker
a numeric vector. The value 1 is for american automobile, the value 2 is for european automobile, and
the value 3 is for an asian automobile