The
gun
data frame, a design object, has 36 rows representing
runs of a team of 3 men loading and firing naval guns attempting to
get off as many rounds per minute as possible. The three predictor
variables (columns) specify the team and the physique of the men on it and the
loading method used; the outcome variable is the rounds fired per minute.
M1
and
M2
.
S
for slight,
A
for average, and
H
for heavy.
T1
,
T2
or
T3
. In fact there are nine
teams, three of each physique, i.e. a slight
T1
, an average
T1
,
and a heavy
T1
, etc.
Hicks, C. R. (1973) Fundamental Concepts in the Design of Experiments.
Holt, Rinehart and Wilson, New York, p. 194.
John M. Chambers and Trevor J. Hastie, (eds.) Statistical Models in S,
Wadsworth and Brooks, Pacific Grove, CA 1992, pg. 152.
gunaov <- aov(Rounds ~ Method + Physique/Team, data = gun)