View source: R/litterDiallel.R
makeRotationMatrix | R Documentation |
Turn an n-column design matrix into an n-1, sum to 0, design matrix while maintaining independence. See Appendix (Lenarcic, 2012, Genetics; Crowley, 2014, Genetics)
makeRotationMatrix(X, n, ...)
X |
original design matrix |
n |
number of original columns of design matrix |
... |
additional arguments |
generates rotation matrix to reduce dimensions for better sampling
## not run
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.