Learn R Programming

BSDA (version 1.01)

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

Description

Data for Exercise 10.33

Usage

Lodge

Arguments

Format

A data frame with 45 observations on the following 6 variables.

SiteA

a numeric vector

SiteB

a numeric vector

SiteC

a numeric vector

Traffic

a numeric vector

Site

a numeric vector

Ranks

a numeric vector

Examples

Run this code
# NOT RUN {
str(Lodge)
attach(Lodge)
boxplot(Traffic~Site)
anova(lm(Traffic~as.factor(Site)))
detach(Lodge)
# }

Run the code above in your browser using DataLab