r_pal | R Documentation |
This is the default R palette, to be able to reproduce the colors of older igraph versions. Its colors are appropriate for categories, but they are not very attractive.
r_pal(n)
n |
The number of colors to use, the maximum is eight. |
A character vector of color names.
Other palettes:
categorical_pal()
,
diverging_pal()
,
sequential_pal()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.