updatePrec | R Documentation |
Helper function for updating the precision matrices in the EMFA algorithm.
updatePrec(m, nc, omega, w, p, wNew, pNew, cNew, het, maxDiag)
m |
An integer, the order of the model. |
nc |
An integer, the number of traits or genotypes. |
omega |
A computed matrix for the current step in the algoritm. |
w |
A model matrix for the current step in the algorithm. |
p |
A model matrix for the current step in the algorithm. |
wNew |
A pointer to the updated model matrix for w. |
pNew |
A pointer to the updated model matrix for p. |
cNew |
A pointer to the updated matrix c. |
het |
Should an extra diagonal part be added in the model for the precision matrix. |
maxDiag |
A numerical value for the maximum value of sigma2. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.