View source: R/color_manuals.R
groupColors | R Documentation |
Create a color manual for the group factor to be used in plots.
groupColors(df)
df |
The dataframe with data to be plotted. |
A list with a named vector with colors for the variables in the 'group' column.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.