View source: R/epinion_color.R
epinion_color | R Documentation |
This function allows you to add Epinion colors to an existing plot by adding this function at the end of your ggplot2 syntax. The function is especially convenient when the color argument is specified by a variable in your data.
epinion_color(palette = "main", discrete = TRUE, reverse = FALSE, ...)
palette |
Defaults to main. If you need extra colors or the full palette, please specify extra, extra2 or full. |
discrete |
Defaults to TRUE. If you have an inherit continous variable, please change to FALSE. |
reverse |
Defaults to FALSE. If you need to reverse the order of the colors in the palette, change this to TRUE. |
... |
Additional arguments may apply. |
A CVI compliant plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.