is.color | R Documentation |
This function checks if a string or a vector contains valid colour names
is.color(colour.name)
colour.name |
Input character or vector containing colour names |
A Boolean showing whether or not a string or vector contains valid colour names
## Not run: Read the colour names as a string or vector of characters col.names<-is.color(c("red","blue")) col.names<-is.color("blue") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.