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