Learn R Programming

BSDA (version 1.2.0)

Epaminicompact: Fuel efficiency ratings for compact vehicles in 2001

Description

Data for Exercise 1.65

Usage

Epaminicompact

Arguments

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

References

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.

Examples

Run this code
# NOT RUN {
summary(Epaminicompact$cty)
plot(hwy ~ cty, data = Epaminicompact)

# }

Run the code above in your browser using DataLab