ggthemes (version 3.3.0)

economist_pal: Economist color palette (discrete)

Description

The hues in the palette are blues, grays, and greens. Red is not included in these palettes and should be used to indicate important data.

Usage

economist_pal(stata = FALSE, fill = TRUE)

Arguments

stata
Use the palette in the Stata economist scheme.
fill
Use the fill palette.

See Also

Other colour economist: scale_colour_economist

Examples

Run this code
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 DataCamp Workspace