ggcols: Generate the ggplot2 color wheel

Description Usage Arguments Examples

Description

ggcols Returns a vector of ggplot2 colours. Inspired by an answer by Hadley, Colby J. & zx8754 on Cross Validated.

Usage

1
ggcols(n)

Arguments

n

Integer; the number of colours to get.

Examples

1
2
ggcols(1)
## "#F8766D"

InfProbSciX/PeRLib documentation built on May 15, 2019, 8:56 p.m.