getPColor | R Documentation |
Get Point Color
getPColor(data, cluster, palName, pColor)
data |
(data.frame) if cluster, different ids in the column "cluster" will receive a different colour |
cluster |
(logical) if TRUE, return color for cluster |
palName |
(character) name of the color palette |
pColor |
single color or vector of colors that is returned if |
single color or vector of colors
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.