Data for Exercise 1.65

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, and PORSCHE

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, and TT COUPE QUATTRO

displ

engine displacement (in liters)

cyl

number of cylinders

trans

a factor with levels Auto(L5), Auto(S4), Auto(S5), Manual(M5), and Manual(M6)

drv

a factor with levels 4(four wheel drive), F(front wheel drive), and R(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)
#>    Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
#>   15.00   16.25   18.50   18.27   20.00   22.00 
plot(hwy ~ cty, data = Epaminicompact)