Description Usage Arguments Value
convert a character vector to a color vector by specified col.
1 | vec2colvec(vec, colpal = NULL)
|
vec |
a vector of values. it can be numeric or categorical. |
colpal |
a color vector. If NA is present, it needs to to be taken into account. |
a color vecotor same length as vec
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.