powered by
Display the given colors
displayColors(col, ...)displayAllColors(col, types = c("deuteranope", "protanope", "desaturate"), ...)
displayAllColors(col, types = c("deuteranope", "protanope", "desaturate"), ...)
color set to display
parameters could be used by geom_tile.
the type of color vision deficiency.
an ggplot object
# NOT RUN { displayColors(safeColors) displayColors(paletteMartin) displayAllColors(safeColors, color="white") displayAllColors(paletteMartin, color="white") # }
Run the code above in your browser using DataLab