ggcol function

Replicate the standard color scheme from ggplot2

Replicate the standard color scheme from ggplot2

ggcol(n)

Arguments

  • n: Length of color vector to return.

Returns

A character vector containing color hex codes.

Examples

ggcol(3)
  • Maintainer: Darius Nau
  • License: GPL (>= 3)
  • Last published: 2025-03-23

Useful links