Learn R Programming

ggthemes (version 5.1.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(fill = TRUE)

Arguments

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))

Run the code above in your browser using DataLab