Description Usage Arguments Value
Function that gives back a covariance matrix for n dimesnions
1 | get_covmat(Nr.dim, variances = 0.25, covariances = 0.125)
|
Nr.dim |
integer - the number of dimensions |
variances |
numeric, positive, <= 1, (same for all dimensions) or Nr.dim-dimensional vector - variance of each dimension |
covariances |
numeric, positive, <= 1, (same for all dimensions) or choose(Nr.dim,2)-dimensional vector - covariances between dimensions |
covariance matrix of dimension Nr.dim x Nr.dim
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.