color.gradient | R Documentation |
create a gradient of colors givent a vector of value
color.gradient(x, colors = c(myred, "yellow", mygreen), colsteps = 100)
x |
a vector of value to be matched with colors |
colors |
a vector of three colors |
colsteps |
the number of cilors groups |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.