Transformation of R colors by simulating color
vision deficiencies.
Usage
cvdSimulator(col, type = "deuteranope")
Arguments
col
character. A vector of colors.
type
Deficiency type, "protanope" or "deuteranope"
Value
colors.
Details
Here use Vienot's methods but not Gustavo's methods
(implemented in colorspace::simulate_cvd).
References
Vienot, F., Brettel, H. and Mollon, J.D. (1999)
<doi:10.1002/(SICI)1520-6378(199908)24:4
Sharma, G., Wu, W. and Dalal, E.N. (2005) <doi:10.1002/col.20070>