Description Usage Arguments Examples
View source: R/heatScatterColor.R
This takes in x, y, and returns color values based on a palette defined using the heatscatter() function from the "LSD" library. Useful for adapting heatscatter() like behavior to plotting in ggplot2.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
x |
Values of x |
y |
Values of y |
colpal |
Color palette, options from LSD::disco(). Defaults to "heat". |
... |
All other options the same as LSD::heatscatter() |
1 | heatScatterColor(x,y,coldiscrete,colpal="oranges")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.