hayman54: Hayman dataset for diallel analysis

hayman54R Documentation

Hayman dataset for diallel analysis

Description

Data for a diallel in tobacco with 2 reps

Usage

data(hayman54)

Format

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

Author(s)

Andrea Onofri, Niccolo' Terzaroli, Luigi Russi

Source

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

References

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

Examples

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)

lmDiallel documentation built on April 19, 2023, 5:10 p.m.