View source: R/scale_fill_norment.R
Add the NORMENT colors to a ggplot object. This function can be used as one
would always use the scale_fill_*
objects, except it requires the added
input whether the colors required need to be discrete or continuous
(set in the discrete
option), this of course depends on the data that
you're trying to plot.
It can also take input of which of the NORMENT color palettes you want to use.
For a list of the available color palettes type ?norment_palettes
.
Lastly, you can also tell this function to reverse the colors in the opposite
direction as standard.
1 | scale_fill_norment(discrete = FALSE, palette = "default", reverse = FALSE, ...)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.