| cor_matrix | R Documentation |
Produce a symmetric correlation matrix from values.
cor_matrix(...)
... |
Correlation values to transform into the symmetric correlation matrix (by row). |
Return a symmetric correlation matrix.
cor_matrix(
1.0, 0.7, 0.3,
0.7, 1.0, 0.5,
0.3, 0.5, 1.0
)
cor_matrix(
1.0, NA, NA,
0.7, 1.0, NA,
0.3, 0.5, 1.0
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.