shade.col | R Documentation |
Create a color palette with two end member colors
shade.col(n, acol = c(1, 0, 0), bcol = c(1, 1, 1))
n |
number of desired colors |
acol |
rgb, starting color |
bcol |
rgb, ending color |
Linear interpolation from color1 to color 2.
color vector
Jonathan M. Lees<jonathan.lees.edu>
rainbow, tomo.col
## color palette from red to white
shade.col(100, acol = c(1, 0, 0), bcol = c(1, 1, 1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.