ggthemes
ggthemes copied to clipboard
Problems with theme_economist
Hi! 👋🏼 I can't reproduce the example put to use theme_economist.
dsamp <- diamonds[sample(nrow(diamonds), 1000), ] qplot(carat, price, data=dsamp, colour=clarity) + theme_economist(stata=TRUE) + scale_colour_economist(stata=TRUE)
The error is Error in theme_economist(stata = TRUE) : unused argument (stata = TRUE)
According to the NEWS file this argument was removed in ggthemes
version 4.0.0 (I have no idea why). If you really need this option you could install an older version of the package ...