Learn R Programming

fpp (version 0.5)

fuel: Fuel economy data on 2009 vehicles in the US.

Description

Fuel economy data taken from http://www.fueleconomy.gov/feg/advancedSearch.htm with search options
  • Year: 2009
  • Vehicle/Fuel: Regular Gasoline
  • Transmission: Automatic
  • Drive Type: FWD, RWD
  • Cylinders: 3-5

Then GAS/E85 vehicles were removed.

Usage

data(fuel)

Arguments

Format

fuel is a data frame with 134 observations on the following 8 variables.
Model
a factor indicating the model of each vehicle.
Cylinders
a numeric vector with the number of cylinders of each vehicle
Litres
a numeric vector with the engine size in litres.
Barrels
a numeric vector containing the energy impact score: an estimate of the average number of barrels of petroleum used per year.
City
a numeric vector with estimated city mpg
Highway
a numeric vector with estimated highway mpg
Cost
a numeric vector containing annual fuel cost in US$
Carbon
a numeric vector containing the carbon footprint: the car's average CO2 emissions in tons per year, along with the CO2 emitted in producing and distributing the fuel.

Examples

Run this code
data(fuel)

Run the code above in your browser using DataLab