Description Usage Arguments Value See Also Examples
Quick scatter plot with points colored by a 3rd variable
| 1 2 3 | ggdotscolor(x, y, varcol = NULL, ylab = deparse(substitute(y)),
  xlab = deparse(substitute(x)), collab = deparse(substitute(varcol)),
  mycolors = brewer.pal(10, name = "RdBu"), contrast = 0, ...)
 | 
| x | a numeric vector of group 1 | 
| y | a numeric vector of group 2 | 
| varcol | either a numeric vector (continuous scale plotting) or factor variable (discrete plotting) | 
| data | A dataset with 3 columns. It is assumed that 1 is x, 2 is y, 3 is varcol. This substitutes the use of x, y and varcol. | 
A scatter plot from base plot with points colored by the rank of a given variable
ggplot_world_map
| 1 2 3 4 | x=rnomr(1,1,100)
y=rnorm(1,2,100)
x=rnorm(1,3,100)
ggdotscolor(x=x,y=y,colorvar=z)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.