Learn R Programming

agridat (version 1.5)

cochran.bib: Balanced incomplete block design in corn

Description

Balanced incomplete block design in corn

Usage

data(cochran.bib)

Arguments

source

North Carolina Agricultural Experiment Station, United States Department of Agriculture.

Details

Incomplete block design. Each loc/block has 4 genotypes/lines. The blocks are planted at different locations. Conducted in 1943 in North Carolina.

References

Cochran, W.G. and Cox, G.M. (1957), Experimental Designs, 2nd ed., Wiley and Sons, New York, p. 448.

Examples

Run this code
dat <- cochran.bib

m1 = aov(yield ~ gen + Error(loc), data=dat)
summary(m1)

require(nlme)
m2 = lme(yield ~ -1 + gen, data=dat, random=~1|loc)

require(agricolae)
BIB.test(dat$loc, dat$gen, y=dat$yield)

Run the code above in your browser using DataLab