Learn R Programming

agridat (version 1.23)

goulden.latin: Latin square experiment for testing fungicide

Description

Latin square experiment for testing fungicide

Usage

data("goulden.latin")

Arguments

Format

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

trt

treatment factor, 5 levels

yield

yield

row

row

col

column

Details

Five treatments were tested to control stem rust in wheat. Treatment codes and descriptions: A = Dusted before rains. B = Dusted after rains. C = Dusted once each week. D = Drifting, once each week. E = Not dusted.

Examples

Run this code
if (FALSE) {

library(agridat)
library(agridat)
data(goulden.latin)
dat <- goulden.latin


libs(desplot)
desplot(dat, yield ~ col*row,
        text=trt, cex=1, # aspect unknown
        main="goulden.latin")


# Matches Goulden.
m1 <- lm(yield~ trt + factor(row) + factor(col), data=dat)
anova(m1)

}

Run the code above in your browser using DataLab