Description Usage Arguments Value See Also Examples
A valid color representation is any of the three kinds of R
color specifications, i.e., either a color name (as listed by
colors()), a hexadecimal string of the form "#rrggbb"
or "#rrggbbaa" (see rgb), or a positive integer
i meaning palette()[i].
1 | is.color(obj)
|
obj |
Object: object to be tested |
Logical: TRUE if the object is a valid color representation,
FALSE otherwise
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.