View source: R/theme_coursekata.R
coursekata_palette_provider | R Documentation |
Create a function that provides a colorblind palette.
coursekata_palette_provider()
A function that accepts one argument n
, which is the number of colors you want to use
in the plot. This function is used by scales like scale_color_discrete
to provide colorblind-
safe palettes. See scale_discrete_coursekata
for more information.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.