cond.col | R Documentation |
Color scale for categorical data.
cond.col(cond, colfn = rainbow, ...)
cond |
A vector that can be coerced to a factor. |
colfn |
A function that returns a color map for each level in |
... |
Additional arguments to |
A named vector of colors corresponding to the levels of cond
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.