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
Sequential palettes (for numeric variables):
Blues
Greens
Greys
These palettes are
taken from ColorBrewer (Brewer et al., 2003).
Qualitative palattes (for categorical variables):
Set1
Set2
Set3
Set4
Set5
Set6
Set7
Paired
HCL1
HCL2
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). 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.
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://http://CRAN.R-project.org/package=dichromat/{Thomas
Lumley (2012). dichromat: Color schemes for dichromats. R
package version 1.2-4.
http://CRAN.R-project.org/package=dichromat}
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.}