Learn R Programming

pliman (version 2.1.0)

ggplot_color: ggplot2-like colors generation

Description

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

Run this code

library(pliman)
ggplot_color(n = 3)

Run the code above in your browser using DataLab