View source: R/model.matrix.diallel_v2.00.R
REC | R Documentation |
Build incidence matrix to fit reciprocal effects in Griffing's model 1, 2, 4 (REC) and 3 (REC.G3) with lm
function
REC(P1, P2, type = "fix", data)
P1 |
|
P2 |
|
type |
|
data |
|
a design matrix of n-1 parentals
A design matrix for the reciprocal (REC) effect
Andrea Onofri, Niccolo' Terzaroli, Luigi Russi
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")
dMod<-lm(Ftime~ Block + GCA(Par1,Par2)
+tSCA(Par1, Par2)+REC(Par1, Par2)
, data = hayman54)
anova(dMod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.