generate_palette | R Documentation |
Generate a color palette suitable for stacked bar plots given a feature number (S)
generate_palette(hex_min, hex_mid, hex_max, S)
hex_min |
hex code for min color in ramp |
hex_mid |
hex code for median color in ramp |
hex_max |
hex code for max color in ramp |
S |
number of colors to generate |
list of hex colors
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.