TopGearMPG {perryExamples} | R Documentation |
Top Gear fuel consumption data
Description
The data set contains information on fuel consumption of cars featured on the website of the popular BBC television show Top Gear, together with car information and performance measures. Only cars with complete information are included in the data set.
Usage
data("TopGearMPG")
Format
A data frame with 255 observations on the following 11 variables.
Maker
factor; the car maker.
Model
factor; the car model.
Type
factor; the exact model type.
MPG
numeric; the combined fuel consuption (urban + extra urban; in miles per gallon).
Cylinders
numeric; the number of cylinders in the engine.
Displacement
numeric; the displacement of the engine (in cc).
BHP
numeric; the power of the engine (in bhp).
Torque
numeric; the torque of the engine (in lb/ft).
Acceleration
numeric; the time it takes the car to get from 0 to 62 mph (in seconds).
TopSpeed
numeric; the car's top speed (in mph).
Weight
numeric; the car's curb weight (in kg).
Source
The data were scraped from http://www.topgear.com/uk/
on 2014-02-24.
Examples
data("TopGearMPG")
plot(TopGearMPG[, -(1:3)])