Learn R Programming

tabplot (version 0.11-1)

tablePalettes: Show / get all palettes of the tabplot package

Description

All color palettes are shown and/or returned that can be used for tableplots.

Usage

tablePalettes(plot = TRUE)

Arguments

plot
Boolean that determines whether the palettes are plot.

Value

  • list with palettes (silent output)

Details

Qualitative palattes (for categorical variables):
  • Set1
  • Set2
  • Set3
  • Set4
  • Set5
  • Paired
  • HCL1
  • HCL2
  • HCL3
The default palette, "Set1", is a color blind friendly palette (see Okabe and Ito, 2002). Palettes "Set2" to "Set5" and "Paired" are based on ColorBrewer palettes (Brewer et al., 2003). The HCL Palettes are based on the Hue-Chroma-Luminance color space model (see Zeileis et al., 2009). Sequential palettes (for numeric variables):
  • Blues
  • Greens
  • Greys
These palettes are taken from ColorBrewer (Brewer et al., 2003).

References

http://jfly.iam.u-tokyo.ac.jp/color/{Okabe, M. and Ito, K. Color Universal Design (CUD) - How to make figures and presentations that are friendly to Colorblind people, 2002} http://colorbrewer2.org/{Brewer, Cynthia A., Geoffrey W. Hatchard and Mark A. Harrower, 2003, ColorBrewer in Print: A Catalog of Color Schemes for Maps, Cartography and Geographic Information Science 30(1): 5-32.} http://statmath.wu.ac.at/~zeileis/papers/Zeileis+Hornik+Murrell-2009.pdf{Zeileis, A., Hornik, K., and Murrell, P. Escaping RGBland: Selecting colors for statistical graphics. In Proceedings of Computational Statistics & Data Analysis. 2009, 3259-3270.}