stata_pal: Stata color palettes (discrete)

Description Usage Arguments Details Examples

View source: R/stata.R

Description

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

Usage

1
stata_pal(scheme = "s2color")

Arguments

scheme

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

Details

All these palettes support up to 15 values.

Examples

1
2
3
4
5
6
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))

Example output



ggthemes documentation built on Jan. 20, 2021, 5:05 p.m.

Related to stata_pal in ggthemes...