Learn R Programming

variancePartition (version 1.2.5)

ggColorHue: Default colors for ggplot

Description

Return an array of n colors the same as the default used by ggplot2

Usage

ggColorHue(n)

Arguments

n
number of colors

Value

array of colors of length n

Examples

Run this code
ggColorHue(4)

Run the code above in your browser using DataLab