auto_map_to_palette | R Documentation |
Instead of having to manually determine a map assignment, a colorspace palette can be used to auto-assign to a given vector.
auto_map_to_palette(x, colorspace_palette = "diverge_hcl", ...)
x |
Vector to map. All vectors are converted to character before mapping. |
hcl_palettes
## Not run: if(interactive()){ auto_map_to_color(x = as.character(x)) %>% view_colors() } ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.