It creates a disign matrix for block effects (with sum-to-zero constraint). It is used internally
Usage
matBlock(formula)
Value
A design matrix for the block effect
Arguments
formula
a formula containing the block variables
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