Description Usage Arguments See Also Examples
Color theme change
1 2 3 4 5 6 7 8 9 | theme_change(
default_col = NULL,
default_fill = NULL,
palette = "d3",
palette_types = NULL,
number = 10,
col.alpha = 1,
fill.alpha = 0.5
)
|
default_col |
Default setting colors which is used for dot, line and border colors |
default_fill |
Default setting colors which is used for fill colors |
palette |
Color palette, "default", "ggplot2" and palettes in ggsci. Please see col_genelator(). |
palette_types |
"Continuous" or "discrete" in ggplot2 palette or palette types in ggsci |
number |
Number of colors to generate |
col.alpha |
Transparency of default color |
fill.alpha |
Transparency of default fill color |
[ggsci] <https://cran.r-project.org/web/packages/ggsci/vignettes/ggsci.html>
[plotn::col_genelator]
1 2 3 4 5 6 | d <- data.frame(x = c(1:10, 11:20, 21:30), group = rep(c("A","B","C"), each = 10))
theme_change()
boxplotn(x ~ group, data = d)
theme_change(palette = "uchicago", palette_type = "light")
boxplotn(x ~ group, data = d)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.