| onyiah.maize | R Documentation |
Graeco-Latin experiment with maize
data("onyiah.maize")
A data frame with 20 observations on the following 5 variables.
loclocation
genmaize genotype
greekspacing
latinfertilizer level
yieldyield per hectare
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.
Leonard C. Onyiah (2008). Design and Analysis of Experiments: Classical and Regression Approaches with SAS. https://books.google.com/books?id=_P3LBQAAQBAJ&pg=PA334
None
## Not run:
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)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.