Description Usage Arguments Details
View source: R/Mapper-package.r
The col_pal
must be a string vector of hexadecimal RGB or RGBa color codes.
1 |
x |
A numeric vector whose magnitudes should be binned onto the color palette. |
col_pal |
Color palette to bin numeric values into. See details. |
output_format |
Whether the output should be RGBa (hex9) or RGB (hex7). |
Given a numeric vector x
, bins the values from low to high on a given color gradient.
Defaults to the reversed rainbow gradient, where blue == low, red == high.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.