check_color_code
check the validation of a color code dataframe
check_color_code(color_code)
color_code | The color code dataframe |
---|
A valid color code dataframe contains two columns: Abbrev
and Hex.Colors
. The column Abbrev
contains names of
groups that should match the names of groups in the data. The column
Hex.Colors
contains self defined colors of groups where colors should
be defined as Hex color codes. A tool for picking up colors can be found
here.
temp = auto_set_colorcode(c('a','b','c')) check_color_code(temp)