Learn R Programming

agridat (version 1.12)

gomez.groupsplit: Rice group balanced split-plot design

Description

Group balanced split-plot design

Arguments

Format

A data frame with 270 observations on the following 7 variables.

x

Column ordinate

y

Row ordinate

rep

Replicate factor, 3 levels

fert

Fertilizer factor, 2 levels

gen

Genotype factor, 45 levels

group

Grouping (genotype) factor, 3 levels

yield

Yield of rice

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
# NOT RUN {
data(gomez.groupsplit)
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