| Epatwoseater | R Documentation |
Data for Exercise 5.8
Epatwoseater
A data frame/tibble with 36 observations on ten variables
a character variable with value TWO SEATERS
a character variable with values ACURA, AUDI,
BMW, CHEVROLET, DODGE, FERRARI, HONDA,
LAMBORGHINI, MAZDA, MERCEDES-BENZ, PLYMOUTH,
PORSCHE, and TOYOTA
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, and Z8
engine displacement (in liters)
number of cylinders
a factor with levels Auto(L4), Auto(L5), Auto(S4),
Auto(S5), Auto(S6), Manual(M5), and Manual(M6)
a factor with levels 4(four wheel drive) F(front wheel drive) R(rear wheel drive)
city mpg
highway mpg
combined city and highway mpg
@source Environmental Protection Agency.
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
summary(Epatwoseater$cty)
plot(hwy ~ cty, data = Epatwoseater)
boxplot(cty ~ drv, data = Epatwoseater, col = "lightgreen")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.