Description Usage Arguments Details Examples
cor.heat(Mat, coloramp, textsize, scaletext, abs.val=TRUE, ...)
1 2 |
Mat |
is a matrix resulting from correlations |
coloramp |
is a colorRampPalette() palette, e.g., coloramp = colorRampPalette(c('red','blue')) |
textsize |
is the multiplier for text size of labels and value size |
scaletext |
is the multiplier for the text size of legend labels |
abs.val |
logical; if true, absolute values of correlation coefficient (x100) are displayed |
Names |
can be supplied to replace the existing variable names |
... |
further arguments to be passed to color2D.matplot, in particular show.values=TRUE and border=NA |
axis labels are at top and left hand side, and scale is on right hand side, so make suitable margin sizes. Essentially, this function is a convenience wrapper for color2D.matplot() from plotrix.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.