getColors | R Documentation |
Get vector of length n_v from RColorBrewer
getColors(n_v)
n_v |
number of colors to get |
Uses Dark2 (8) first, then Set3 (12), and finally Pastel1 (9). If n_v is greater than the total colors in those 3 sets, warning will be thrown.
vector of color hex codes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.