Description Usage Arguments References
simcor
generates a correlation matrix in the manner of Hardin et al (2013).
1 2 |
k |
Integer. Number of block diagonals. |
size |
An integer vector of length k containing the number of rows (also columns) of a (square) block
diagonal element of the final matrix, which will then be a square matrix of row length |
rho |
A numeric vector of length k, containing the mean (off-diagonal) correlations in each block. |
delta |
Numeric. The mean correlation in the remaining elements of the final matrix, outside the block diagonals. |
epsilon |
Numeric. The degree of variability in the matrix. |
eidim |
The shape of the distribution of variability; if |
For full details, see Hardin, J., Garcia, S. R., and Golan, D. (2013). A method for generating realistic correlation matrices. Annals of Applied Statistics, 7(3):1733-1762. This function is not intended for use by the user.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.