Description Usage Arguments Details Value See Also Examples
Plot a matrix of correlations using white ellipses (representing the measured correlation) overlaid on colored circles.
1 2 3 4 5 6 7 8 9 |
r |
A matrix of correlations (need not be symmetrical) with values ranging from -1 to 1. |
addtext |
A logical scalar indicating whether the value of each correlation should be written over the ellipses, default TRUE. |
atcex |
A numeric scalar giving the magnification of the added ellipse text
relative to that set in |
incdiag |
A logical scalar indicating whether to plot circles for the diagonal values of the matrix (if symmetric), default FALSE. |
rorder |
A logical scalar indicating whether the columns and rows of the matrix should be reordered using seriation, default TRUE. |
plot |
A logical scalar indicating whether the plot should be drawn, default TRUE. |
... |
Additional parameters to |
Correlation is represented as a white ellipse over a colored circle, sized so that the proportion of the colored circle visible beyond the ellipse is equal to the squared correlation (r^2). The color of each circle ranges from cyan (for r = -1) to magenta (for r = 1) through white (for r = 0). Similarly, the transparency of each printed correlation value (if addtext=TRUE) ranges from 1 (for r = 0) to 0 (for |r| = 1).
A list of with two vector of integers (the same length as each dimension
of r
) representing the linear order suggested by seriation.
plotcorr
on which the idea for the function was
based, seriate
, and
draw.ellipse
.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.