Create a combination of colours for plotting bivariate maps using colorspace
1 | make_colours(og_pal1 = "OrRd", og_pal2 = "Blues", num1 = 5, num2 = 5)
|
og_pal1 |
A string indicated one of the available sequential palettes from colorspace, the first value of this palette is used as the lowest in the combination. |
og_pal2 |
A string indicated one of the available sequential palettes from colorspace |
num1 |
The number of colours to include in og_pal1, default is 5. |
num2 |
The number of colours to include in og_pal2, note that this does not need to be the same as num1, but by default is. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.