assign_colors | R Documentation |
Assign Colors Based on Tertiles
assign_colors(data, color_matrix)
data |
A data frame containing tertile columns |
color_matrix |
A 3x3 matrix of colors |
A data frame with added color column
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.