powered by
Stata color palettes. See Stata documentation for a description of the schemes, https://www.stata.com/help.cgi?schemes.
stata_pal(scheme = "s2color")
character. One of "s2color", "s1rcolor", "s1color", or "mono".
character
"s2color"
"s1rcolor"
"s1color"
"mono"
All these palettes support up to 15 values.
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))
Run the code above in your browser using DataLab