diagonal | R Documentation |
Builds a breedR random effect with an index incidence matrix and a diagonal
covariance matrix, with one level for each value of x
.
diagonal(x)
x |
a numeric covariate or a factor. |
Uses sparse storage. It does not support nesting (yet). So it is not possible to build random regression coefficients for each level of a grouping factor. This is in the TODO list.
A random effect with element incidence.matrix
and a diagonal
structure.matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.