hayman54 | R Documentation |
Data for a diallel in tobacco with 2 reps
data(hayman54)
A data.frame with 128 observations on the following 4 variables
Block
block, a factor with 2 levels
Par1
male parent, a factor with 8 levels
Par2
female parent, a factor with 8 levels
Ftime
mean flowering time (days), a numeric vector
Andrea Onofri, Niccolo' Terzaroli, Luigi Russi
B. I. Hayman (1954a). The Analysis of Variance of Diallel Tables. Biometrics, 10, 235-244. Table 5, page 241. http://doi.org/10.2307/3001877
Onofri, A., Terzaroli, N. & Russi, L. Linear models for diallel crosses: a review with R functions. Theor Appl Genet (2020). https://doi.org/10.1007/s00122-020-03716-8
data("hayman54")
contrasts(hayman54$Block) <- c("contr.sum")
dMod <- lm(Ftime ~ Block + GCA(Par1, Par2)
+ tSCA(Par1, Par2) + RGCA(Par1, Par2)
+ RSCA(Par1, Par2), data = hayman54)
anova(dMod)
#or
dMod2 <- lm.diallel(Ftime ~ Par1 + Par2, Block = Block,
data = hayman54,
fct = "HAYMAN1")
anova(dMod2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.