gg_color_hue: Create a palette with ggplot2 default colors

View source: R/ggplot-extras.R

gg_color_hueR Documentation

Create a palette with ggplot2 default colors

Description

Create a palette with ggplot2 default colors

Usage

gg_color_hue(n)

Arguments

n

integer. Number of colours in the palette.

Value

vector of character strings corresponding to the palette colour hex codes.

Author(s)

John Colby https://stackoverflow.com/a/8197703/2116422


barzine/barzinePhdR documentation built on Nov. 23, 2024, 8:54 p.m.