THF default colours for colour option Discrete colour scales THF for categorical variables
1 |
1 2 3 4 5 | library(ggplot2)
ggplot(mtcars, aes(x=mpg, y=wt, colour=factor(cyl))) +
geom_point() +
scale_colour_THF() +
theme_THF()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.