stata_linetype_pal: Stata linetype palette (discrete)

View source: R/stata.R

stata_linetype_palR Documentation

Stata linetype palette (discrete)

Description

Linetype palette based on the linepattern scheme in Stata. This palette supports up to 15 values.

Usage

stata_linetype_pal()

Value

A palette function. It takes the number of linetypes n and returns a character vector of n linetype specifications, and can be used as the palette argument of discrete_scale().

See Also

scale_linetype_stata()

Other linetype stata: scale_linetype_stata()

Examples

stata_linetype_pal()(6)

show_linetypes(stata_linetype_pal()(6))

ggthemes documentation built on Oct. 4, 2026, 1:06 a.m.