Description Usage Value References Examples
View source: R/utility_functions.R
Generates a set of 8 colors that are colorblind friendly.
1 |
A vector of 8 hexadecimal strings giving # colors (starting with grey) that are colorblind friendly.
See http://www.cookbook-r.com/Graphs/Colors_(ggplot2)/#a-colorblind-friendly-palette.
1 2 | clrs = colorblindPalette()
plot( 1:8, 1:8, pch = 15, cex = 4, col = clrs )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.