Skip to contents

Generate ggplot2

Usage

ggplot_color(n = 1)

Arguments

n

The number of colors. This works well for up to about eight colours, but after that it becomes hard to tell the different colours apart.

Examples


library(pliman)
ggplot_color(n = 3)
#> [1] "#F8766D" "#00BA38" "#619CFF"