Description Usage Format Source Examples
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.
1 |
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.
http://www.fueleconomy.gov/feg/
1 |
Loading required package: forecast
Loading required package: fma
Loading required package: expsmooth
Loading required package: lmtest
Loading required package: zoo
Attaching package: 'zoo'
The following objects are masked from 'package:base':
as.Date, as.Date.numeric
Loading required package: tseries
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.