Generate a color palette of length n
1 | make_colors(n = 3, categorical = TRUE, b2g = FALSE, r2g = FALSE)
|
n |
How many colors |
categorical |
Boolean, whether to make a categorical palette (alternative, numeric, assumes ordinality) |
b2g |
Whether to use a blue to green palette (as opposed to blue to white); only applicable if categorical is FALSE |
r2g |
Whether to use a red to green palette (as opposed to blue to white); only applicable if categorical is FALSE |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.