Description Usage Arguments Value Author(s) See Also
Return a colored factor's key, mapping its levels to their colors. Returns a named vector, mapping the factor levels (names) to their associated colors (values). Useful for constructing plot keys.
1 2 |
x |
A colored factor |
... |
Additional arguments (unused) |
A color key, in the form of a named vector
David C. Norris
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.