get_cols | R Documentation |
Set and view the color palettes
get_cols(cols = "normal", palette = 1, show_col = T, seed = 123)
cols |
Vector of colors, users can define the cols manually. This may also be a single character, such as normal and random, to a palette as specified by 'palettes()IOBR' |
palette |
Numeric value corresponding with color palette. Default is 1, other options: 2, 3, 4 |
show_col |
Whether to show color palettes |
seed |
Seed of the random number generator, default is 123. The parameter works when cols ="random" |
Vector of colors
mycols<-get_cols()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.