Description Usage Arguments Value Author(s) References See Also Examples
Plot a data.frame with color cells.
1 | colorPlot(x, zeroColor, oneColor)
|
x |
data.frame to plot, taking values in [0,1] : the associated colors are then taken on the gradient from zeroColor to oneColor. |
zeroColor |
the "zero bound" color, in any valid R color format (e.g. "yellow", "#00FF00", ...) |
oneColor |
the "one bound" color, in any valid R color format (e.g. "yellow", "#00FF00", ...) |
NULL
Pierrick Bruneau
Inspired from myImagePlot (http://www.phaget4.org/R/image_matrix.html)
getInterRGB
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.