The classic mtcars dataset with key numeric columns converted to factors for categorical plotting examples.
Format
A data frame with 32 rows and 11 columns:
- mpg
Miles per gallon
- cyl
Number of cylinders (factor)
- disp
Displacement (cubic inches)
- hp
Gross horsepower
- drat
Rear axle ratio
- wt
Weight (1000 lbs)
- qsec
1/4 mile time
- vs
Engine (0 = V-shaped, 1 = straight) (factor)
- am
Transmission (0 = automatic, 1 = manual) (factor)
- gear
Number of forward gears (factor)
- carb
Number of carburetors (factor)