Learn R Programming

BSDA (version 1.2.0)

Trucks: Miles per gallon for standard 4-wheel drive trucks manufactured by Chevrolet, Dodge and Ford

Description

Data for Example 10.2

Usage

Trucks

Arguments

Format

A data frame/tibble with 15 observations on two variables

mpg

miles per gallon

truck

a factor with levels chevy, dodge, and ford

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 {
boxplot(mpg ~ truck, data = Trucks, horizontal = TRUE, las = 1)
summary(aov(mpg ~ truck, data = Trucks))

# }

Run the code above in your browser using DataLab