is_color | R Documentation |
Check whether a character string is a valid color specification.
is_color(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
is_color(c("red", "zzz", "#FFFFFF", "#7FAF1B111"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.