agridat (version 1.16)

pacheco.soybean: Multi-environment trial of soybean in Brazil.

Description

Yields of 18 soybean genotypes at 11 environments in Brazil.

Arguments

Format

gen

genotype, 18 levels

env

environment, 11 levels

yield

yield, kg/ha

Details

In each environment was used an RCB design with 3 reps. The means of the reps are shown here.

Examples

Run this code
# NOT RUN {
data(pacheco.soybean)
dat <- pacheco.soybean

# AMMI biplot similar to Fig 2 of Pacheco et al.
if(require(agricolae)){
  m1 <- with(dat, AMMI(env, gen, REP=1, yield))
  bip <- m1$biplot[,1:3]
  # Fig 1 of Pacheco et al.
  with(bip, plot(yield, PC1, cex=0.0,
                 text(yield,PC1,labels=row.names(bip), col="blue"),
                 xlim=c(1000,3000),main="pacheco.soybean - AMMI biplot",frame=TRUE))
  with(bip[19:29,], points(yield, PC1, cex=0.0,
                           text(yield,PC1,labels=row.names(bip[19:29,]),
                                col="darkgreen")))
}

# }

Run the code above in your browser using DataLab