Description Usage Arguments References
Plot colours from names
1 | plot_palette(values, label = TRUE, square = FALSE)
|
values |
character vector of named or hex colours. |
label |
boolean. Do you want to label the plot or not? |
square |
boolean. Display palette as square? |
Code inspired by hrbrmstr (https://stackoverflow.com/a/25726442)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.