displayColors: display colors

Description Usage Arguments Value Examples

View source: R/displayColors.R

Description

Display the given colors

Usage

1
2
3
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

1
2
3
4

jianhong/colorBlindness documentation built on April 17, 2021, 1:31 p.m.