cor_image | R Documentation |
The function shows an image()
of a correlation matrix, where row-and column names
are use as labels.
cor_image(cor_mat, cex = 0.7, srt = 45, cex.axis = 0.7)
cor_mat |
A matrix of pairwise correlations |
cex, cex.axis |
Numerics indicating the font size for text- and axis labels |
srt |
A numeric controlling the angle of the text |
A graphical representation of the correlation matrix
Lukas Dargel
cor_mat <- cor(matrix(rnorm(40),ncol = 4))
cor_image(cor_mat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.