graph_colors | R Documentation |
Try to use RColorBrewer if available, if not uses rainbow
graph_colors(n, pal = NULL, dark = FALSE)
n |
number of colors to get (caution, it can be fewer than expected for some palettes) |
pal |
name of the palette to use |
dark |
boolean try to use darkest palette |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.