as_matrix | R Documentation |
Convert a correlation data frame to original matrix format.
as_matrix(x, diagonal)
x |
A correlation data frame. See |
diagonal |
Value (typically numeric or NA) to set the diagonal to |
Correlation matrix
x <- correlate(mtcars) as_matrix(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.