disco_color_scale | R Documentation |
Map disco scores to colors
disco_color_scale(x, lower = -100, upper = 100, int = 255, alpha = "66")
x |
disco score |
lower, upper |
lower and upper boundaries of the score |
int |
how many colors in the palette |
alpha |
transparency (string with two hexadecimal digits) |
character vector of colors corresponding to x
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.