Description Usage Arguments Value Author(s) References Examples
Obtain a sample covariance matrix
1 |
data.matrix |
Input mxn data matrix |
return the nxn sample covariance matrix
Yi-Hui Zhou
Computation of ancestry scores with mixed families and unrelated individuals. arXiv:1606.08416.
1 2 | X <- matrix(rbinom(1000*20,2,0.4),1000,20)
cov.X=cov.function(X)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.