Learn R Programming

agridat (version 1.23)

fan.stability: Multi-environment trial of maize hybrids in China

Description

Yield of 13 hybrids, grown in 10 locations across 2 years. Conducted in Yunnan, China.

Arguments

Format

A data frame with 260 observations on the following 5 variables.

gen

genotype

maturity

maturity, days

year

year

loc

location

yield

yield, Mg/ha

Details

Data are the mean of 3 reps.

These data were used to conduct a stability analysis of yield.

Used with permission of Manjit Kang.

Examples

Run this code
if (FALSE) {

library(agridat)
data(fan.stability)
dat <- fan.stability

dat$env <- factor(paste(dat$loc, dat$year, sep=""))
libs(lattice)
dotplot(gen~yield|env, dat, main="fan.stability")

libs(reshape2, agricolae)
dm <- acast(dat, gen~env, value.var='yield')
# Use 0.464 as pooled error from ANOVA.  Calculate yield mean/stability.
stability.par(dm, rep=3, MSerror=0.464) # Table 5 of Fan et al.

}

Run the code above in your browser using DataLab