Description Usage Arguments Details Value Examples
validateBaseColor
returns if a string vector contains color representations contained in the R Base colors.
1 | validateBaseColor(string)
|
string |
String vector. |
This function validates a given R Base color representation.
It validates the input against the grDevices::colors()
function.
Returns a logical vector of the same length as the string
input.
1 2 3 4 | validateBaseColor("red")
validateBaseColor("RED")
validateBaseColor(c("red", "blue"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.