Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/transparentColorBase.R
Setting transparency in base graphics is not as easy as in
Lattice
, so here's a little functon to help.
1 | transparentColorBase(color, alphaTrans = alphaTrans)
|
color |
The color, or a vector of colors from
|
alphaTrans |
The alpha transparency value between [0,1] with 0 opaque and 1 fully transparent. |
As above.
The rgb value(s), which can be passed to any base graphics routine to get transparency.
Jeffrey H. Gove
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.