powered by
create colors.
gg_color_hue(n)
an integer specifying the number of colors to create.
color-coded vector
# NOT RUN { col <- gg_color_hue(3) plot(iris$Species, col = col) # }
Run the code above in your browser using DataLab