revrainbow | R Documentation |
Calls grDevices::rainbow()
then base::rev()
revrainbow(n = 256, ...)
n |
Number of colors. |
... |
Passed to |
There's not much to this. It's just rev(rainbow(start=0, end=2/3, ...))
.
Vector of colors, from blue to red.
base::rev()
,
grDevices::rainbow()
x <- matrix(rnorm(100), ncol=10)
image(x, col=revrainbow())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.