THF default colours for fill option Discrete colour scales THF for categorical variables
1 |
1 2 3 4 | library(ggplot2)
ggplot(ToothGrowth, aes(x=factor(dose), y=len, fill=factor(dose))) +
geom_boxplot() + scale_fill_THF() + theme_THF()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.