matBlock {lmDiallel} | R Documentation |
Design matrix for blocks
Description
It creates a disign matrix for block effects (with sum-to-zero constraint). It is used internally
Usage
matBlock(formula)
Arguments
formula |
|
Value
A design matrix for the block effect
Author(s)
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
data("hayman54")
matBlock(~hayman54$Block)
[Package lmDiallel version 1.0.1 Index]