| Epaminicompact {BSDA} | R Documentation |
Fuel efficiency ratings for compact vehicles in 2001
Description
Data for Exercise 1.65
Usage
Epaminicompact
Format
A data frame/tibble with 22 observations on ten variables
- class
a character variable with value
MINICOMPACT CARS- manufacturer
a character variable with values
AUDI,BMW,JAGUAR,MERCEDES-BENZ,MITSUBISHI, andPORSCHE- carline
a character variable with values
325CI CONVERTIBLE,330CI CONVERTIBLE,911 CARRERA 2/4,911 TURBO,CLK320 (CABRIOLET),CLK430 (CABRIOLET),ECLIPSE SPYDER,JAGUAR XK8 CONVERTIBLE,JAGUAR XKR CONVERTIBLE,M3 CONVERTIBLE,TT COUPE, andTT COUPE QUATTRO- displ
engine displacement (in liters)
- cyl
number of cylinders
- trans
a factor with levels
Auto(L5),Auto(S4),Auto(S5),Manual(M5), andManual(M6)- drv
a factor with levels
4(four wheel drive),F(front wheel drive), andR(rear wheel drive)- cty
city mpg
- hwy
highway mpg
- cmb
combined city and highway mpg
Source
EPA data.
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
Examples
summary(Epaminicompact$cty)
plot(hwy ~ cty, data = Epaminicompact)