Calculate Sigmalgg_hat
| 1 | calc_Sigmalgg_hat(Xmat, Vg, Ve, Dmat, l)
 | 
| Xmat | a genotypes matrix for a single marker, dimension a by n, where a is the number of allelotypes and n the number of subjects | 
| Vg | current value of genetic covariance matrix, with dimension d by d | 
| Ve | current value of error covariance matrix, with dimension d by d | 
| Dmat | a diagonal matrix containing the eigenvalues of the kinship matrix, K = UtDU | 
| l | a number from 1 to n, corresponding to the subject number | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.