scale_color_statworx | R Documentation |
Create a constructor for ggplot for lines, points, etc.
scale_color_statworx( palette = "statworx_standards_1", discrete = TRUE, reverse = FALSE, col_list = c(), ... )
palette |
A color palette. |
discrete |
If true, discrete palette is returned. Otherwise, continuous palette. |
reverse |
If true, order of palette is reversed. |
col_list |
Provide a vector of colors if parameter palette="custom". |
... |
arguments passed to |
Scale constructor for ggplot.
ggplot(iris, aes(Sepal.Width, Sepal.Length, color = Species)) + geom_point() + scale_color_statworx()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.