Fuel economy data taken from http://www.fueleconomy.gov/feg/advancedSearch.htm with search options
Vehicle/Fuel: Regular Gasoline
Drive Type: FWD, RWD
Then GAS/E85 vehicles were removed.
fuel is a data frame with 134 observations on the following 8 variables.
a factor indicating the model of each vehicle.
a numeric vector with the number of cylinders of each vehicle
a numeric vector with the engine size in litres.
a numeric vector containing the energy impact score: an estimate of the average number of barrels of petroleum used per year.
a numeric vector with estimated city mpg
a numeric vector with estimated highway mpg
a numeric vector containing annual fuel cost in US$
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.
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.