Description Usage Arguments Value Author(s) References Examples
Visualize color scale for PlotMatrix output NOTE: Experimental. To be tested thoroughly.
1 2 3 4 |
breaks |
breakpoints for colors |
colors |
Optional. Colors. |
m |
overrides breaks, mypalette and produces a plot that ranges (-m,m) |
label.step |
step between label text plotting |
interval |
interval for palette color switches |
two.sided |
indicates one- or two-sided color palette |
label.start |
start point for the labels |
Nlab |
number of labels |
palette.function |
palette color scale function |
ndigits |
number of digits to plot |
... |
optional parameters to be passed to function 'axis', see help(axis) for further detai |
A list with the color palette (palette), color breakpoints (breaks), and palette function (palette.function)
Leo Lahti sorvi-commits@lists.r-forge.r-project.org
See citation("sorvi")
1 | # mat <- rbind(c(1,2,3,4,5), c(1, 3, 1), c(4,2,2)); pm <- PlotMatrix(mat, "twoway", midpoint = 3); PlotScale(pm$colors, pm$breaks)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.