matrix_to_df | R Documentation |
This function takes a square matrix, like a correlation matrix derived from a mean covariance matrix, and reshapes it into a data.frame for plotting.
matrix_to_df(x)
x |
A matrix with named x and y dimensions. |
A df with X, Y and value columns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.