Description Usage Arguments Value Examples
View source: R/displayColors.R
Display the given colors
1 2 3 | displayColors(col, ...)
displayAllColors(col, types = c("deuteranope", "protanope", "desaturate"), ...)
|
col |
color set to display |
... |
parameters could be used by geom_tile. |
types |
the type of color vision deficiency. |
an ggplot object
1 2 3 4 | displayColors(safeColors)
displayColors(paletteMartin)
displayAllColors(safeColors, color="white")
displayAllColors(paletteMartin, color="white")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.