Description Usage Arguments Value Examples
Generate Random Correlation Matrices
1 |
p |
The number of variabes to simulate |
eta |
The regularization parameter. Larger values result in smaller correlations. Only applies to method = "lkj" |
df |
The degrees of freedom. Only applies to method = "wishart" |
One |
of "lkj" (the default) or "wishart" |
a correlation matrix
1 | rcorr(10, 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.