Learn R Programming

BSDA (version 1.2.0)

Lodge: Measured traffic at three prospective locations for a motor lodge

Description

Data for Exercise 10.33

Usage

Lodge

Arguments

Format

A data frame/tibble with 45 observations on six variables

traffic

a numeric vector indicating the amount of vehicles that passed a site in 1 hour

site

a numeric vector with values 1, 2, and 3

ranks

ranks for variable traffic

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(traffic ~ site, data = Lodge, col = cm.colors(3))
anova(lm(traffic ~ factor(site), data = Lodge))

# }

Run the code above in your browser using DataLab