Learn R Programming

agridat (version 1.27)

onyiah.maize: Graeco-Latin experiment with maize

Description

Graeco-Latin experiment with maize

Usage

data("onyiah.maize")

Arguments

Format

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

loc

location

gen

maize genotype

greek

spacing

latin

fertilizer level

yield

yield per hectare

Details

In a multi-location variety trial of maize, there were two additional treatment factors: spacing (greek) and fertilizer (Latin).

Data provenance: Typed by K.Wright.

References

None

Examples

Run this code
if (FALSE) {
  library(agridat)
  data(onyiah.maize)
  dat <- onyiah.maize
  
  # anova
  dat <- transform(dat, loc=factor(loc), gen=factor(gen),
                   greek=factor(greek), latin=factor(latin))
  m1 <- aov(yield ~ loc + gen + greek + latin, data=dat)
  anova(m1)
  
}

Run the code above in your browser using DataLab