plot_half_cor_mat | R Documentation |
Plot the lower triangle of a correlation matrix
plot_half_cor_mat(cor_mat, border_width = 0)
cor_mat |
a correlation matrix (must have dimnames) |
border_width |
width parameter of the border around each cell. |
If you see a thin, pixel-width grey border around each cell, try setting border_width = 0.1 or so, depending on your output resolution.
No checks are made on the order of the columns. If you want the order to line up with another plot, you'll need to check the input manually beforehand.
a ggplot of the lower triangle of the matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.