1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{mpg}
\alias{mpg}
\title{Fuel economy data from 1999 to 2008 for 38 popular models of cars}
\format{
A data frame with 234 rows and 11 variables:
\describe{
\item{manufacturer}{manufacturer name}
\item{model}{model name}
\item{displ}{engine displacement, in litres}
\item{year}{year of manufacture}
\item{cyl}{number of cylinders}
\item{trans}{type of transmission}
\item{drv}{the type of drive train, where f = front-wheel drive, r = rear wheel drive, 4 = 4wd}
\item{cty}{city miles per gallon}
\item{hwy}{highway miles per gallon}
\item{fl}{fuel type}
\item{class}{"type" of car}
}
}
\usage{
mpg
}
\description{
This dataset contains a subset of the fuel economy data that the EPA makes
available on \url{https://fueleconomy.gov/}. It contains only models which
had a new release every year between 1999 and 2008 - this was used as a
proxy for the popularity of the car.
}
\keyword{datasets}
|