Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

Epaminicompact

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, 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)
plot(hwy ~ cty, data = Epaminicompact)

BSDA

Basic Statistics and Data Analysis

v1.2.0
GPL (>= 2)
Authors
Alan T. Arnholt [aut, cre], Ben Evans [aut]
Initial release
2017-07-29

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.