displayColors {colorBlindness} | R Documentation |
display colors
Description
Display the given colors
Usage
displayColors(col, ...)
displayAllColors(col, types = c("deuteranope", "protanope", "desaturate"), ...)
Arguments
col |
color set to display |
... |
parameters could be used by geom_tile. |
types |
the type of color vision deficiency. |
Value
an ggplot object
Examples
displayColors(safeColors)
displayColors(paletteMartin)
displayAllColors(safeColors, color="white")
displayAllColors(paletteMartin, color="white")
[Package colorBlindness version 0.1.9 Index]