mpg: Fuel economy data from 1999 to 2008 for 38 popular models of...

Description Usage Format Source Examples

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

1

Format

A data frame with columns:

manufacturer

The variable is character. manufacturer name

model

The variable is character. model name

displ

The variable is numeric. engine displacement, in litres

year

The variable is integer. year of manufacture

cyl

The variable is integer. number of cylinders

trans

The variable is character. type of transmission

drv

The variable is character. the type of drive train, where f = front-wheel drive, r = rear wheel drive, 4 = 4wd

cty

The variable is integer. city miles per gallon

hwy

The variable is integer. highway miles per gallon

fl

The variable is character. fuel type

class

The variable is character. 'type' of car

Source

https://github.com/tidyverse/ggplot2

Examples

1
2
3
4
## Not run: 
mpg

## End(Not run)

byuidatascience/data4python4ds documentation built on July 26, 2020, 5:02 a.m.