cvdSimulator: simulate color vision deficiency

Description Usage Arguments Details Value References Examples

View source: R/cvdSimulator.R

Description

Transformation of R colors by simulating color vision deficiencies.

Usage

1
cvdSimulator(col, type = "deuteranope")

Arguments

col

character. A vector of colors.

type

Deficiency type, "protanope" or "deuteranope"

Details

Here use Vienot's methods but not Gustavo's methods (implemented in colorspace::simulate_cvd).

Value

colors.

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>

Examples

1

colorBlindness documentation built on April 17, 2021, 9:06 a.m.