Description Usage Format Source Examples
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.
1 | data("TopGearMPG")
|
A data frame with 255 observations on the following 11 variables.
Makerfactor; the car maker.
Modelfactor; the car model.
Typefactor; the exact model type.
MPGnumeric; the combined fuel consuption (urban + extra urban; in miles per gallon).
Cylindersnumeric; the number of cylinders in the engine.
Displacementnumeric; the displacement of the engine (in cc).
BHPnumeric; the power of the engine (in bhp).
Torquenumeric; the torque of the engine (in lb/ft).
Accelerationnumeric; the time it takes the car to get from 0 to 62 mph (in seconds).
TopSpeednumeric; the car's top speed (in mph).
Weightnumeric; the car's curb weight (in kg).
The data were scraped from http://www.topgear.com/uk/ on 2014-02-24.
1 2 | data("TopGearMPG")
plot(TopGearMPG[, -(1:3)])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.