Description Usage Arguments See Also Examples
Genelating dafault color in plotn
1 | col_genelator(palette = "d3", palette_types = NULL, number = 10, alpha = 1)
|
palette |
Color palette, "default", "ggplot2" and palettes in ggsci |
palette_types |
"Continuous" or "discrete" in ggplot2 palette or palette types in ggsci |
number |
Number of colors to generate |
alpha |
Transparency |
[ggsci] <https://cran.r-project.org/web/packages/ggsci/vignettes/ggsci.html>
1 2 | cols <- col_genelator(palette = "npg")
cols <- col_genelator(palette = "uchicago", palette_type = "light")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.