Description Usage Arguments Value
Given a palette name and data frame with clustering or grouping_var information in an 'ident' column, return a palette containing a color for each unique cluster identity.
1 |
df |
A graphing data.frame (from PrepDr) containing a column named 'ident' with group identities. |
palette |
The name of a palette to use. Must be a palette available in the Paletteer package. If there are more unique identities than colors in the palette, additional values will be created by interpolation. |
A list containing color values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.