Description Usage Arguments Value Examples
Get the name of the custom palette for a given variable
1  | get_my_palette_name(pal, name)
 | 
pal | 
 Custom palette as a vector (see example).  | 
name | 
 Name of variable to look up in the custom palette vector.  | 
Name of ColorBrewer palette.
1 2  | pal = list(Diet = "Set2", Sample_type = "Pastel1", Significance = "PuRd")
get_my_palette_name(pal, "Diet")
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.