Shortcut to hue_pal to return to ggplot2 defaults if user desires, from scales package.

Hue_Pal(num_colors)

Arguments

num_colors

number of colors to return in palette.

Value

hue color palette (as many colors as desired)

Examples

cols <- Hue_Pal(num_colors = 8)
PalettePlot(pal= cols)