gg_color_hue: ggplot default color vector

View source: R/ggplot.R

gg_color_hueR Documentation

ggplot default color vector

Description

Emulate ggplot default colors for a given number of categories. Credit to John Colby. https://stackoverflow.com/questions/8197559/emulate-ggplot2-default-color-palette

Usage

gg_color_hue(n)

Arguments

n

number of colors


thackl/thacklr documentation built on Oct. 16, 2023, 9:15 p.m.