Continuous fill scale that aligns with the Cone Health style
1 2 3 4 5 |
... |
other arguments passed to |
colours |
vector of colours |
colors |
vector of colours |
values |
if colours should not be evenly positioned along the gradient this vector gives the position (between 0 and 1) for each colour in the colours vector. See rescale for a convience function to map an arbitrary range to between 0 and 1 |
space |
colour space in which to calculate gradient. Must be "Lab" - other values are deprecated. |
na.value |
default color for NA values |
guide |
legend representation of scale |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.