scatter.twogroups | R Documentation |
density scatterplot with highlighting the points of a certain group in a different color
scatter.twogroups(
x,
y,
is.g,
cols.all = blues9[-(1:3)],
cols.g = c("coral", "darkred"),
...
)
x |
x coordinates |
y |
y coordinates |
is.g |
logical vector indicating whether a point is in the highlighted group |
cols.all |
colorscheme for all points |
cols.g |
colorscheme for the points in the highlighted group |
... |
more plotting parameters |
Nothing particularly interesting
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.