View source: R/rvn_utilities.R
ggplotColours | R Documentation |
Returns n
colours consistent with default colours from ggplot2
ggplotColours(n = 6)
n |
number of coours to generate |
vector of colours in hexadecimal format
ggplotColours(4)
# returns c("#F8766D","#7CAE00","#00BFC4","#C77CFF")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.