| Epatwoseater {BSDA} | R Documentation |
Fuel efficiency ratings for two-seater vehicles in 2001
Description
Data for Exercise 5.8
Usage
Epatwoseater
Format
A data frame/tibble with 36 observations on ten variables
- class
a character variable with value
TWO SEATERS- manufacturer
a character variable with values
ACURA,AUDI,BMW,CHEVROLET,DODGE,FERRARI,HONDA,LAMBORGHINI,MAZDA,MERCEDES-BENZ,PLYMOUTH,PORSCHE, andTOYOTA- carline
a character variable with values
BOXSTER,BOXSTER S,CORVETTE,DB132/144 DIABLO,FERRARI 360 MODENA/SPIDER,FERRARI 550 MARANELLO/BARCHETTA,INSIGHT,MR2,MX-5 MIATA,NSX,PROWLER,S2000,SL500,SL600,SLK230 KOMPRESSOR,SLK320,TT ROADSTER,TT ROADSTER QUATTRO,VIPER CONVERTIBLE,VIPER COUPE,Z3 COUPE,Z3 ROADSTER, andZ8- displ
engine displacement (in liters)
- cyl
number of cylinders
- trans
a factor with levels
Auto(L4),Auto(L5),Auto(S4),Auto(S5),Auto(S6),Manual(M5), andManual(M6)- drv
a factor with levels
4(four wheel drive)F(front wheel drive)R(rear wheel drive)- cty
city mpg
- hwy
highway mpg
- cmb
combined city and highway mpg
@source Environmental Protection Agency.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
Examples
summary(Epatwoseater$cty)
plot(hwy ~ cty, data = Epatwoseater)
boxplot(cty ~ drv, data = Epatwoseater, col = "lightgreen")