| colorramp {prada} | R Documentation |
Interpolate between colors
colorramp(col)
col |
A vector of colors, as in col2rgb. |
The function is adapated from the function
colorRamp in the package
geneplotter.
A function that takes an integer and produces
a color map which interpolates between the colors in col.
Thomas Lumley
cr <- colorramp(c("green", "red"))
cr(5)