As you know, there are many themes in ggplot2 such as theme_economist, theme_minimal, theme_tufte, etc.
For instance, I would like to add this code to my visualisation:
theme_economist(axis.text.x = element_text(angle = 90))
But I am getting the "unused argument" error because I can add this argument to only theme function.
You can simply use this code:
ggplot(mtcars,aes(x=mpg)) + geom_histogram(binwidth=5) + theme_economist()
Do you have any suggestion?
Thanks in advance.