varcov | R Documentation |
Calculate variance covariance matrix
varcov(sd_vector, cormat)
sd_vector |
vector of standard deviations. |
cormat |
correlation matrix. |
Variance-covariance matrix.
Kasia Sawicka
vc <- varcov(c(1,2,3), matrix(c(1,0.7,0.2,0.7,1,0.5,0.2,0.5,1), nrow = 3, ncol = 3))
vc
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.