Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (24 sloc) 618 Bytes
\name{economist_pal}
\alias{economist_pal}
\title{Economist color palette (discrete)}
\usage{
economist_pal(stata = FALSE, fill = TRUE)
}
\arguments{
\item{stata}{Use the palette in the Stata economist
scheme.}
\item{fill}{Use the fill palette.}
}
\description{
The primary colors are blues, grays, and greens. Red is
not included (early) in these palettes and should be used
to indicate important data.
}
\examples{
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))
}
Something went wrong with that request. Please try again.