Description Usage Arguments Value Author(s) Examples
Return function to interpolate a EJ colour palette
1 |
palette |
Character name of palette in EJ_palettes |
reverse |
Boolean indicating whether the palette should be reversed |
... |
Additional arguments to pass to colorRampPalette() |
vector() of selected colours based on palette argument
Eugene Joh, MPH ejoh@bu.edu
1 | EJ_pal("accent")(5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.