IsColor | R Documentation |
Check whether a character string is a valid color specification.
IsColor(x, null.ok = FALSE)
x |
'character' vector. color specification |
null.ok |
'logical' flag.
If set to |
A 'logical' vector of the same length as argument x
.
J.C. Fisher, U.S. Geological Survey, Idaho Water Science Center
IsColor(c("red", "zzz", "#FFFFFF", "#7FAF1B111"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.