View source: R/pal_bivariate.R
Returns a palette function that turns v
(value) and u
(uncertainty) (both between 0 and 1) into
colors.
1 2 | pal_bivariate_carto(palette = "Earth", max_light = 0.9, max_desat = 0,
pow_light = 0.5, pow_desat = 1, ...)
|
palette |
Name of the palette |
max_light |
Maximum amount of lightening |
max_desat |
Maximum amount of desaturation |
pow_light |
Power exponent of lightening |
pow_desat |
Power exponent of desaturation |
... |
Other arguments to be given to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.