mpg数据集内容
mpg {ggplot2} R Documentation
Fuel economy data from 1999 and 2008 for 38 popular models of car
Description
This dataset contains a subset of the fuel economy data that the EPA makes available on http://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.
Usage
mpg
Format
A data frame with 234 rows and 11 variables
manufacturer
model
model name
displ
engine displacement, in litres
year
year of manufacture
cyl
number of cylinders
trans
type of transmission
drv
f = front-wheel drive, r = rear wheel drive, 4 = 4wd
cty
city miles per gallon
hwy
highway miles per gallon
fl
fuel type
class
"type" of car
翻译
mpg {ggplot2} R文档
1999年和2008年的燃油经济性数据为38种流行车型
描述
该数据集包含EPA在http://fueleconomy.gov上提供的燃料经济性数据的子集。 它仅包含1999年至2008年间每年都有新版本的型号 - 这被用作汽车普及的代理。
用法
MPG
格式
一个包含234行和11个变量的数据框
manufacturer
生产厂家
model
类型
model name
型号名称
displ
发动机排量,升。升
year
生产年份
cyl
气缸数量
trans
传输类型
drv 驱动类型
f =前轮驱动,r =后轮驱动,4 = 4wd
cty
每加仑城市里程
hwy
每加仑高速公路英里
fl
汽油种类
class
类型
"type" of car
汽车的品牌