Description Usage Arguments Value
View source: R/palette_functions.R
Fills continuous values with a gradient of n colors
1 | scale_fill_nu_grdn(secondary = 0, reverse = F, n = 2, purple = "high")
|
secondary |
takes values between 1 and 10 to pick which official secondary palette you want |
reverse |
will change the direction of the colors |
n |
will determine how many colors you want (limited to 5) |
purple |
will change the location of NU purple. 'high' sets it to the high end, 'low' to the low end, anything else will remove it |
A scale_fill_manual gg primitive
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.