cms_palette | R Documentation |
cms_palette generates qualitative colour palette from RColorBrewer
cms_palette(n = 1, preview = FALSE, full = FALSE)
n |
numeric; default 1. number of colours; cannot exceed 335 |
preview |
logic; default FALSE; when set, gives preview of colour |
full |
logic; default FALSE; when set, returns all 355 colours |
vector of HEX colours, if full set to TRUE, gives all 335 colours, else gives n numbers
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.