| besthr_palette | R Documentation |
Returns a color palette suitable for besthr visualizations. The default palette uses Okabe-Ito colorblind-safe colors.
besthr_palette(palette = "default", n = NULL)
palette |
Character string specifying the palette. Options are:
|
n |
Number of colors to return. If NULL, returns all colors in palette. |
A character vector of hex color codes
besthr_palette()
besthr_palette("okabe_ito", 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.