View source: R/print.R
Copied from: https://stackoverflow.com/questions/8197559/emulate-ggplot2-default-color-palette.
The number of colours to be generated
a vector of colours with the same length as n
Add the following code to your website.
Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.