Description Usage Arguments Value Examples
gg_color_hue
returns n colors using ggplot default palette
1 | gg_color_hue(n)
|
n |
number of colors to generate |
character vector specifying colors by hexadecimal code
1 2 3 4 | ## Not run:
barplot(c(a = 2,b = 4, c= 3), col = gg_color_hue(3))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.