economist_pal(stata = FALSE, fill = TRUE)
scale_color_economist
,
scale_colour_economist
,
scale_fill_economist
library(scales)
show_col(economist_pal()(6))
## fill palette
show_col(economist_pal(fill=TRUE)(6))
## RGB values from Stata's economist scheme
show_col(economist_pal(stata=TRUE)(16))
Run the code above in your browser using DataLab