Learn R Programming

colorBlindness

color set for color blindness

howto

 library(devtools)
 install_github("jianhong/colorBlindness")
 library(colorBlindness)
 safeColors
 availableColors()
 colorNames()

Copy Link

Version

Install

install.packages('colorBlindness')

Monthly Downloads

885

Version

0.1.9

License

GPL (>= 2)

Maintainer

Jianhong Ou

Last Published

April 17th, 2021

Functions in colorBlindness (0.1.9)

grobify

convert plot to grob
availablePalette

Available color palette
colorNames

available color variable
cvdSimulator

simulate color vision deficiency
displayColors

display colors
cvdPlot

Show color-deficiency simulations of a plot
paletteMartin

Palette for color blindness
BLACK

safe colors
setPDFopt

Auxiliary funciton to set width of pdf for journals
replacePlotColor

replace the colors for plots
displayAvailablePalette

Display available palette
availableColors

available colors