Description Usage Arguments Value Author(s)
A colour palette that returns colours akin to those used by ggplot for discrete colour scales.
1 2 | ggHueColours(n, h = c(0, 360) + 15, l = 65, c = 100,
direction = 1, h.start = 0)
|
n |
integer; number of colours to generate |
h |
numeric; length 2 giving range of hues to use, in [0, 360] |
l |
numeric; luminance (lightness), in [0, 100] |
c |
numeric; chroma (colour intensity) |
direction |
numeric; direction to travel around the colour wheel, 1 = clockwise, -1 = counter-clockwise |
h.start |
numeric; hue to start at |
A vector of character strings which can be used as colour specifications by R graphics functions.
Gavin L. Simpson based on code by Hadley Wickham in his ggplot2 package.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.