Learn R Programming

agridat (version 1.23)

gomez.groupsplit: Group balanced split-plot design in rice

Description

Group balanced split-plot design in rice

Arguments

Format

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

col

column

row

row

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.

Used with permission of Kwanchai Gomez.

Examples

Run this code

library(agridat)
data(gomez.groupsplit)
dat <- gomez.groupsplit

# Gomez figure 3.10.  Obvious fert and group effects
libs(desplot)
desplot(dat, group ~ col*row,
        out1=rep, col=fert, text=gen, # aspect unknown
        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