Description Usage Arguments Value Note Author(s) Examples
This function generates a vector of shades from blue to red of a length selected by value of n
.
1 | blue.red(n)
|
|
= the number of colors desired |
character vector
As of 2016-06-14, this function generates an error: unused argument (gamma = gamma). It appears to be attempting to generate a hsv value by adding a gamma value at the end of a hex value. Removing , gamma=gamma
generates the expected ramp.
unknown, <unknown>@dfo-mpo.gc.ca
1 2 | blue.red(5)
[1] "#0000FF" "#FFFFFF" "#FFFFFF" "#FF0000"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.