BrattleColors: Access the Brattle color palette

Description Usage Arguments Value Author(s) Examples

View source: R/BrattleColors.R

Description

Function used to access the Brattle color palette

Usage

1

Arguments

x

If x is a single numeric or integer, then the number of colors to return; if x is a character vector, the named colors to return

Value

Unnamed character string of hexidecimal color values

Author(s)

Charlie Gibbons

Examples

1
2
3
4
5
### There are only five colors in the palette
BrattleColors()

qplot(carat, price, data = diamonds) + 
  geom_point(color = BrattleColors("aqua"))

Brattle/BrattleExtras documentation built on Oct. 17, 2018, 8:58 a.m.