cor_matrix | R Documentation |
Set up Correlation Matrices
cor_matrix(cors, dim, dimnames = NULL)
cors |
vector of unique correlations |
dim |
Dimension of the correlation matrix |
dimnames |
Optional dimnames of the correlation matrix |
A correlation matrix
of dimension dim
.
cor_matrix(c(0.2, 0.3, 0.5), dim = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.