ku_pal | R Documentation |
Access/interpolate from one of the menu of KU palettes
ku_pal(palette = "full", reverse = FALSE, ...)
palette |
character vector. See |
reverse |
boolean. Indicates whether to reverse the order. |
... |
Additional arguments to pass to |
a function taking a number of colors and returning a palette
if (interactive()) { my_palette <- ku_pal("div_red_blue") my_palette(8) show_colors_with_names(my_palette(7), ncol = 1) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.