gg_colour_hue {iprior} | R Documentation |
Emulate ggplot2
default colour palette
Description
Emulate ggplot2
default colour palette. ipriorColPal
and
ggColPal
are DEPRECATED.
Usage
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)
Arguments
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]. |
Details
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.
[Package iprior version 0.7.4 Index]