powered by
Shortcut to hue_pal to return to ggplot2 defaults if user desires, from scales package.
Hue_Pal(num_colors)
hue color palette (as many colors as desired)
number of colors to return in palette.
cols <- Hue_Pal(num_colors = 8) PalettePlot(pal= cols)
Run the code above in your browser using DataLab