color.alpha | R Documentation |
This function could be used as creating a color based on the given intensities of points.
color.alpha(color = "red", ...)
color |
a string describing a colour.
... |
further arguments pass to rbg
function.
color <- color.alpha("blue",alpha=0.25)
N <- 2000
x <- rnorm(N,50,5)
y <- x +rnorm(N)
plot(x, y,col=color, pch=19)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.