stata_pal {ggthemes}R Documentation

Stata color palettes (discrete)

Description

Stata color palettes. See Stata documentation for a description of the schemes, http://www.stata.com/help.cgi?schemes.

Usage

stata_pal(scheme = "s2color")

Arguments

scheme

character. One of "s2color", "s1rcolor", "s1color", or "mono".

Examples



library("scales")
show_col(stata_pal("s2color")(15))
show_col(stata_pal("s1rcolor")(15))
show_col(stata_pal("s1color")(15))
show_col(stata_pal("mono")(15))




[Package ggthemes version 3.4.2 Index]