Learn R Programming

agridat (version 1.8.1)

gomez.groupsplit: Rice group balanced split-plot design

Description

Group balanced split-plot design

Arguments

source

Gomez, K.A. and Gomez, A.A.. 1984, Statistical Procedures for Agricultural Research. Wiley-Interscience. Page 120. Used with permission of Kwanchai Gomez.

Details

Genotype group S1 is less than 105 days growth duration, S2 is 105-115 days growth duration, S3 is more than 115 days.

Examples

Run this code
dat <- gomez.groupsplit

# Gomez figure 3.10.  Obvious fert and group effects
desplot(group~x*y, dat, out1=rep, col=fert, text=gen,
        main="gomez.groupsplit")

# Gomez table 3.19 (not partitioned by group)
m1 <- aov(yield ~ fert*group + gen:group + fert:gen:group + Error(rep/fert/group), data=dat)
summary(m1)

Run the code above in your browser using DataLab