Description Usage Arguments Details Value Author(s) See Also Examples
Utility function that defines a color palette for use in a4
1 |
n |
Number of color levels the palette should provid |
alpha |
alpha transparency level of the colors |
Janssen |
logical. If |
For n = 1, "blue" is returned; for n = 2
c("red", "blue") is returned; for n = 3
c("red", "green", "blue" is returned; for n = 4
c("red", "green", "blue", "purple") is returned and for n > 2,
the output of rainbow(n) is returned.
a character vector of colors
Steven Osselaer, Tobias Verbeke
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.