powered by
Dichromat vision simulation and enhancement according to http://www.daltonize.org.
daltonize(colpal, cvd = "p", show = TRUE)
a character vector containing R built-in color names or a name of a LSD colorpalette as a character string (see disco() or disco).
LSD
disco
character string implying the type of color vision deficiency ("p" for protanope, "d" for deuteranope or "t" for tritanope).
logical: if TRUE (by default), the resulting colorpalettes are depicted in an R plot.
TRUE
daltonize returns a list, where each entry is a vector containing R built-in colors in hexadecimal representation:
daltonize
vector of simulated colors
vector of enhanced colors
http://www.daltonize.org
disco, colorpalette, demotour
colorpalette
demotour
# NOT RUN { daltonize("heat",cvd = "d") daltonize("colorblind",cvd = "p") # }
Run the code above in your browser using DataLab