alphablend | R Documentation |
Convert colors to semitransparent colors.
alphablend(col, alpha = NULL, bg = NULL)
col |
a vector specifying colors. |
alpha |
a numeric vector containing the alpha values (between 0 and 1). |
bg |
the background color to be used for alphablending. This can be used as a workaround for graphics devices that do not support semitransparent colors. |
a vector containing the semitransparent colors.
Andreas Alfons
alphablend("red", 0.6)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.