View source: R/scale_fill_nhs.R
scale_fill_nhs | R Documentation |
Fill scale constructor for NHS theme colours
scale_fill_nhs(palette = "main", discrete = TRUE, reverse = FALSE, ...)
palette |
Character name of palette in NHS theme |
discrete |
Boolean indicating whether colour aesthetic is discrete or not |
reverse |
Boolean indicating whether the palette should be reversed |
... |
Additional arguments passed to discrete_scale() or scale_fill_gradientn(), used respectively when discrete is TRUE or FALSE |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.