Description Usage Arguments Value Author(s) See Also Examples
Converts an R color to RGB (red/green/blue) including a transparency (alpha channel). Similar to col2rgb
except that a transparency (alpha channel) can be included.
1 |
col |
A vector of any of the three kinds of R color specifications (i.e., either a color name (as listed by |
transp |
A numeric vector that indicates the transparency level for the color. The transparency values must be greater than 0. Transparency values greater than 1 are interpreted as the number of points plotted on top of each other before the transparency is lost and is, thus, transformed to the inverse of the transparency value provided. |
A vector of hexadecimal strings of the form "#rrggbbaa" as would be returned by rgb
.
Derek H. Ogle, derek@derekogle.com
See col2rgb
for similar functionality.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.