Simulating the Effects of Color Blindness in R

Overview

The R package dichromat provides:

⚠️ Important note: The R package colorspace provides better functions for simulating color vision deficiency: simulate_cvd(), deutan(), protan(), tritan(). More modern robust color palettes are available in hcl.colors() and palette.colors() in base R as well as further tools in colorspace.

Installation

The stable version of dichromat is available on CRAN:

install.packages("dichromat")

The latest development version can be installed from R-universe:

install.packages("dichromat", repos = "https://zeileis.R-universe.dev")

License

The package is available under the General Public License version 2.