View source: R/ggplot2_colours.R
ggplot2_colours | R Documentation |
Function to generate a vector of colours which emulate ggplot2's colours.
ggplot2_colours(n = 2)
n |
Number of colours. |
Vector of hex colours.
John Colby
http://stackoverflow.com/questions/8197559/emulate-ggplot2-default-color-palette
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.