tablePalettes: Show / get all palettes of the tabplot package

Description Usage Arguments Details Value References

View source: R/tablePalettes.R

Description

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

Usage

1

Arguments

plot

Boolean that determines whether the palettes are plot.

Details

Diverging palettes (for numeric variables): "RdYlBu", "RdYlGn", "PRGn", and "BrBG" These palettes are taken from ColorBrewer (Brewer et al., 2003).

Qualitative palattes (for categorical variables): "Set1", "Set2", "Set3", "Set4", "Set5", "Set6", "Set7", "Set8", "Paired", "HCL1", "HCL2", and "HCL3". The default palette, "Set1", is a colorblind-friendly palette (see Okabe and Ito, 2002). Palettes "Set2" to "Set6" and "Paired" are based on ColorBrewer palettes (Brewer et al., 2003). Palette "Set7", is a colorblind-friedly palette from the dichromat package (see Thomas Lumley , 2012). Palette "Set8" is a palette created by Wijffelaars (2008). The "HCL" Palettes are based on the Hue-Chroma-Luminance color space model (see Zeileis et al., 2009). The color red has been removed from the orignal palettes, since it is occupied by missing values.

Value

list with palettes (silent output)

References

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.

Okabe, M. and Ito, K. Color Universal Design (CUD) - How to make figures and presentations that are friendly to Colorblind people, 2002

Wijffelaars, M. Synthesis of Color Palettes. Master's thesis. Supervisors Wijk, J. van, and Vliegen, R. 2008

Thomas Lumley (2013). dichromat: Color Schemes for Dichromats. R package version 2.0-0.

Zeileis, A., Hornik, K., and Murrell, P. Escaping RGBland: Selecting colors for statistical graphics. In Proceedings of Computational Statistics & Data Analysis. 2009, 3259-3270.


mtennekes/tabplot documentation built on March 8, 2021, 6:11 p.m.