| gg_colour_hue | R Documentation |
ggplot2 default colour paletteEmulate ggplot2 default colour palette. ipriorColPal and
ggColPal are DEPRECATED.
gg_colour_hue(x, h = c(0, 360) + 15, c = 100, l = 65)
gg_color_hue(x, h = c(0, 360) + 15, c = 100, l = 65)
gg_col_hue(x, h = c(0, 360) + 15, c = 100, l = 65)
ipriorColPal(x)
ggColPal(x)
x |
The number of colours required. |
h |
Range of hues to use, in [0, 360]. |
c |
Chroma (intensity of colour), maximum value varies depending on combination of hue and luminance. |
l |
Luminance (lightness), in [0, 100]. |
This is the default colour scale for categorical variables in ggplot2.
It maps each level to an evenly spaced hue on the colour wheel. It does not
generate colour-blind safe palettes.
ipriorColPal() used to provide the colour palette for the
iprior package, but this has been changed ggplot2's colour
palette instead.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.