toColors_discrete | R Documentation |
Map a vector to colors (for categorical variables)
toColors_discrete(
vector,
palette = c("#8DD3C7", "#FFFFB3", "#BEBADA", "#FB8072", "#80B1D3", "#FDB462",
"#B3DE69", "#FCCDE5", "#D9D9D9", "#BC80BD", "#CCEBC5", "#FFED6F")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.