Creates a vector of (n) contiguous colors (red-yellow-blue).
palette_RYB(n = 100)
number of colors.
A character vector with n color codes.
This function is a wrapper around a modified palette according to:
Erich Neuwirth <firstname.lastname@example.org> (2007). RColorBrewer: ColorBrewer palettes. R package version 1.0-2.
The palette is based on http://www.colorbrewer.org provided by Cynthia Brewer, Mark Harrower and The Pennsylvania State University.
1 2 3 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.