Description Usage Format Source Examples
The data set contains information on cars featured on the website of the popular BBC television show Top Gear.
1 | data("TopGear")
|
A data frame with 297 observations on the following 32 variables.
Maker
factor; the car maker.
Model
factor; the car model.
Type
factor; the exact model type.
Fuel
factor; the type of fuel ("Diesel"
or
"Petrol"
).
Price
numeric; the list price (in UK pounds)
Cylinders
numeric; the number of cylinders in the engine.
Displacement
numeric; the displacement of the engine (in cc).
DriveWheel
factor; the type of drive wheel ("4WD"
,
"Front"
or "Rear"
).
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).
MPG
numeric; the combined fuel consuption (urban + extra urban; in miles per gallon).
Weight
numeric; the car's curb weight (in kg).
Length
numeric; the car's length (in mm).
Width
numeric; the car's width (in mm).
Height
numeric; the car's height (in mm).
AdaptiveHeadlights
factor; whether the car has adaptive
headlights ("no"
, "optional"
or "standard"
).
AdjustableSteering
factor; whether the car has adjustable
steering ("no"
or "standard"
).
AlarmSystem
factor; whether the car has an alarm system
("no/optional"
or "standard"
).
Automatic
factor; whether the car has an automatic
transmission ("no"
, "optional"
or "standard"
).
Bluetooth
factor; whether the car has bluetooth ("no"
,
"optional"
or "standard"
).
ClimateControl
factor; whether the car has climate control
("no"
, "optional"
or "standard"
).
CruiseControl
factor; whether the car has cruise control
("no"
, "optional"
or "standard"
).
ElectricSeats
factor; whether the car has electric seats
("no"
, "optional"
or "standard"
).
Leather
factor; whether the car has a leather interior
("no"
, "optional"
or "standard"
).
ParkingSensors
factor; whether the car has parking sensors
("no"
, "optional"
or "standard"
).
PowerSteering
factor; whether the car has power steering
("no"
or "standard"
).
SatNav
factor; whether the car has a satellite navigation
system ("no"
, "optional"
or "standard"
).
ESP
factor; whether the car has ESP ("no"
,
"optional"
or "standard"
).
Verdict
numeric; review score between 1 (lowest) and 10 (highest).
Origin
factor; the origin of the car maker ("Asia"
,
"Europe"
or "USA"
).
The data were scraped from http://www.topgear.com/uk/ on 2014-02-24.
Variable Origin
was added based on the car maker information.
1 2 |
Loading required package: ggplot2
Loading required package: perry
Loading required package: parallel
Loading required package: robustbase
Maker Model
Mercedes-Benz: 19 Roadster : 2
Audi : 18 1 Series : 1
BMW : 18 1 Series Convertible: 1
Vauxhall : 17 1 Series Coupe : 1
Volkswagen : 15 107 : 1
Toyota : 11 207 CC : 1
(Other) :199 (Other) :290
Type Fuel Price
107 1.0 68 Active 5d : 1 Diesel:112 Min. : 6950
118d SE 5d : 1 Petrol:180 1st Qu.: 18910
120d SE Convertible 2d : 1 NA's : 5 Median : 26495
120i M Sport Coupe 2d : 1 Mean : 50784
12C 3.8 V8 TT 625 Standard 2d: 1 3rd Qu.: 44195
207 CC 1.6 VTi 120 GT 2d : 1 Max. :1139985
(Other) :291
Cylinders Displacement DriveWheel BHP Torque
Min. : 0.000 Min. : 647 4WD : 67 Min. : 17.0 Min. : 42.0
1st Qu.: 4.000 1st Qu.:1560 Front:147 1st Qu.:112.0 1st Qu.:151.0
Median : 4.000 Median :1995 Rear : 78 Median :160.0 Median :236.0
Mean : 5.055 Mean :2504 NA's : 5 Mean :218.3 Mean :255.4
3rd Qu.: 6.000 3rd Qu.:2988 3rd Qu.:258.0 3rd Qu.:324.0
Max. :16.000 Max. :7993 Max. :987.0 Max. :922.0
NA's :4 NA's :9 NA's :4 NA's :4
Acceleration TopSpeed MPG Weight
Min. : 0.000 Min. : 50.0 Min. : 10.00 Min. : 210
1st Qu.: 5.900 1st Qu.:112.0 1st Qu.: 34.00 1st Qu.:1244
Median : 9.100 Median :126.0 Median : 47.00 Median :1494
Mean : 8.839 Mean :132.7 Mean : 48.11 Mean :1536
3rd Qu.:11.400 3rd Qu.:151.0 3rd Qu.: 57.00 3rd Qu.:1774
Max. :16.900 Max. :252.0 Max. :470.00 Max. :2705
NA's :4 NA's :12 NA's :33
Length Width Height AdaptiveHeadlights
Min. :2337 Min. :1237 Min. :1115 no :137
1st Qu.:4157 1st Qu.:1760 1st Qu.:1421 optional: 28
Median :4464 Median :1815 Median :1484 standard:132
Mean :4427 Mean :1811 Mean :1510
3rd Qu.:4766 3rd Qu.:1877 3rd Qu.:1610
Max. :5612 Max. :2073 Max. :1951
NA's :11 NA's :16 NA's :11
AdjustableSteering AlarmSystem Automatic Bluetooth
no : 73 no/optional:112 no :111 no : 55
standard:224 standard :185 optional: 87 optional: 46
standard: 99 standard:196
ClimateControl CruiseControl ElectricSeats Leather ParkingSensors
no : 83 no : 87 no :187 no :124 no : 72
optional: 35 optional: 35 optional: 35 optional: 56 optional: 61
standard:179 standard:175 standard: 75 standard:117 standard:164
PowerSteering SatNav ESP Verdict Origin
no : 27 no : 86 no : 24 Min. : 1.000 Asia : 74
standard:270 optional:116 optional: 16 1st Qu.: 5.000 Europe:198
standard: 95 standard:257 Median : 7.000 USA : 25
Mean : 6.339
3rd Qu.: 7.000
Max. :10.000
NA's :2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.