Learn R Programming

lmDiallel (version 1.0.1)

griffing56: Griffing's dataset for diallel analysis

Description

Data for a diallel in maize, with no selfs and no selfed parents. Data are the means of several replicates.

Usage

data("griffing56")

Arguments

Format

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

Par1

male parent, a factor with 8 levels

Par2

female parent, a factor with 8 levels

Yield

Maize Yield

Cob

Cob weight

Shelled

Shelled corn weight

Author

Andrea Onofri, Niccolo' Terzaroli, Luigi Russi

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

Run this code
data("griffing56")
dMod2 <- lm.diallel(Yield ~ Par1 + Par2,
                    data = griffing56, fct = "GRIFFING4")
anova(dMod2, MSE = 21.05, dfr = 2558)
summary(dMod2, MSE = 21.05, dfr = 2558)

Run the code above in your browser using DataLab