colorblindPalette: Colorblind Friendly Palette

Description Usage Value References Examples

View source: R/utility_functions.R

Description

Generates a set of 8 colors that are colorblind friendly.

Usage

1

Value

A vector of 8 hexadecimal strings giving # colors (starting with grey) that are colorblind friendly.

References

See http://www.cookbook-r.com/Graphs/Colors_(ggplot2)/#a-colorblind-friendly-palette.

Examples

1
2
clrs = colorblindPalette()
plot( 1:8, 1:8, pch = 15, cex = 4, col = clrs )

rettopnivek/utilityf documentation built on March 1, 2021, 7:05 p.m.