gg_colour_hue: ggplot2 categorical colour hues

Description Usage Arguments Author(s) Examples

Description

Generate the colours which ggplot2 would, given a certain number of categories.

Usage

1

Arguments

n

The number of colours to return

Author(s)

John Colby (taken from: https://stackoverflow.com/questions/8197559/emulate-ggplot2-default-color-palette)

Examples

1
barplot(1:10, col = gg_colour_hue(10))

brendan-r/brocks documentation built on May 13, 2019, 5:08 a.m.