Given a path or URL to an palette file, this function will attempt to determine which palette file format to read by the file type and return a named character vector (if color names are present) of hex RGB colors.
partial or full file path or URL to a GPL file
add color names to the vector (defaults to
show extra information about GPL file processing
When using named color palettes in a
scale_ context, you
FALSE or override their names
to map to your own factor levels.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.