fastcov {PCFAM} | R Documentation |
Fast covariance function
Description
This function can generate covariance matrix faster than the regular cov() function.
Usage
fastcov(X)
Arguments
X |
input mxn data matrix |
Value
Output nxn covariance matrix
Note
The input data matrix has to be column scaled in advance.
Author(s)
Yi-Hui Zhou,
References
Computation of ancestry scores with mixed families and unrelated individuals. arXiv:1606.08416.
[Package PCFAM version 1.0 Index]