gg_color_hue: Get ggplot default colors

View source: R/ggplot_functions.R

gg_color_hueR Documentation

Get ggplot default colors

Description

Taken from John Colby's answer here: https://stackoverflow.com/questions/8197559/emulate-ggplot2-default-color-palette, this function lets you get the default palette from ggplot2.

Usage

gg_color_hue(n)

Arguments

n

the number of different colors in the palette


burchill/zplyr documentation built on Feb. 2, 2023, 11:01 a.m.