brewerPalette | R Documentation |
Helper function for creating color palettes
brewerPalette(name, n = NULL, rev = TRUE)
name |
character A palette name; please refer to RColorBrewer::brewer.pal() |
n |
integer (default=NULL) Number of different colors in the palette, minimum 3, maximum depending on palette. Please refer to RColorBrewer::brewer.pal() for more details |
rev |
boolean (default=TRUE) Whether to reverse the palette order |
palette function
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.