agridat (version 1.16)

cochran.latin: Latin square design in wheat

Description

Six wheat plots were sampled by six operators and shoot heights measured. The operators sampled plots in six ordered sequences. The dependent variate was the difference between measured height and true height of the plot.

Arguments

Format

A data frame with 36 observations on the following 4 variables.

row

row

col

column

operator

operator factor

diff

difference between measured height and true height

Examples

Run this code
# NOT RUN {
data(cochran.latin)
dat <- cochran.latin

if(require(desplot)){
  desplot(diff~col*row, dat,
          text=operator, cex=1, # aspect unknown
          main="cochran.latin")
}


dat <- transform(dat, rf=factor(row), cf=factor(col))
aov.dat <- aov(diff ~ operator + Error(rf*cf), dat)
summary(aov.dat)
model.tables(aov.dat, type="means")
# }

Run the code above in your browser using DataLab