plotCor | R Documentation |
This function produces a red and green color image of a correlation matrix using an RGB color specification. Increasingly positive correlations are represented with reds of increasing intensity, and increasingly negative correlations are represented with greens of increasing intensity.
plotCor(x, new=FALSE, nrgcols=50, labels=FALSE, labcols=1, title="", ...)
x |
a matrix of numerical values. |
new |
If |
nrgcols |
the number of colors (>= 1) to be used in the red and green palette. |
labels |
vector of character strings to be placed at the
tickpoints, labels for the columns of |
labcols |
colors to be used for the labels of the columns of
|
title |
character string, overall title for the plot. |
... |
graphical parameters may also be supplied as arguments to
the function (see |
Sandrine Dudoit, sandrine@stat.berkeley.edu
plotMat
,rgcolors.func
,
cor
, image
,
rgb
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.