gen_cov_matrix | R Documentation |
generate covariance matrix between two variables
gen_cov_matrix(D, var1.vec, var2.vec, rho.matrix)
D |
dimension of matrix |
var1.vec |
vector of variances of first variable |
var2.vec |
vector of variances of second variable |
rho.matrix |
matrix of correlations |
Sigma matrix of covariance
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.