gg_color_hue | R Documentation |
Generate default ggplot colour palette depending on the number of colours required.
gg_color_hue(n)
n |
Number. |
Generate default ggplot colour palette depending on the number of colours required.
col <- gg_color_hue(5)
col
# [1] "#F8766D" "#A3A500" "#00BF7D" "#00B0F6" "#E76BF3"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.