View source: R/graphics-parameter-helpers.R
| resolvePlotColour | R Documentation |
Accepts anything R can draw with, such as a colour name, a hex string or a palette number. Abbreviated colour names are completed against 'choices'.
resolvePlotColour(colour, choices, argumentName)
colour |
colour supplied by the user. |
choices |
colour names available for completion. |
argumentName |
argument name used in the error message. |
The completed colour name, or 'colour' unchanged.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.