Description Usage Arguments Value See Also Examples
View source: R/plotdotscolor.R
Quick scatter plot with points colored by a 3rd variable
1 2 | plotdotscolor(x, y, colorvar, palette = c("red", "orange", "yellow", "green",
"blue"), breaks = 50, pch = 19, alpha = 0.5, add = F, ...)
|
colorvar |
a numeric vector for the color gradient |
breaks |
numeric value of how many braks are wanted for the color palette |
pch |
what shape of points is wanted. default 19 |
alpha |
what transparency of dots is wanted |
numeric1 |
a numeric vector of group 1 |
numeric2 |
a numeric vector of group 2 |
A scatter plot from base plot with points colored by the rank of a given variable
ggdotscolor
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.