tau_color_few: Use the "Few" palette used in the charts

Description Usage Arguments References See Also Examples

View source: R/colors.r

Description

Qualitative color palettes from Stephen Few, "Practical Rules for Using Color in Charts".

Usage

1
tau_color_few(tau, n = NULL, palette = "medium")

Arguments

tau

taucharts object

n

number of desired colors

palette

name of Few palette. One of "medium", "dark" or "light"

References

http://api.taucharts.com/advanced/encoding.html

See Also

few_pal

Examples

1
2
3
tauchart(mtcars) %>%
  tau_point("wt", "mpg", color="cyl") %>%
  tau_color_few()

hrbrmstr/taucharts documentation built on May 18, 2018, 4:20 p.m.