Description Usage Arguments Details Value Examples
color ramp palette with transparency
1 | colorRampAlpha(..., n, alpha)
|
... |
arguments to pass to |
n |
number of colors in palette |
alpha |
alpha channel (opacity) value [0;1] |
for details see colorRamp
and colorRampPalette
colorRampAlpha returns a vector of defined colors with transparency interpolating the given sequence.
1 2 | library(RColorBrewer)
colorRampAlpha(brewer.pal(9,"PuOr"), n = 10, alpha=.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.