check_color_blindness() will showcase the effect of the three kinds of
color vision deficiency, Deuteranopia, Protanopia, and Tritanopia, at the
same time side by side in a plot.
Arguments
- col
A
colorsobject (seecolor()) or a vector of any of the three kinds of R color specifications, i.e., either a color name (as listed bygrDevices::colors()), a hexadecimal string (seecol2rgb()), or a positive integerimeaninggrDevices::palette()[i].
Examples
check_color_blindness(rainbow(10))
check_color_blindness(terrain.colors(10))
