theme_vlkr | R Documentation |
Set ggplot colors, sizes and layout parameters.
theme_vlkr(
base_size = 11,
base_color = "black",
base_fill = VLKR_FILLDISCRETE,
base_gradient = VLKR_FILLGRADIENT
)
base_size |
Base font size. |
base_color |
Base font color. |
base_fill |
A list of fill color sets or at least one fill color set. Example:
|
base_gradient |
A color vector used for creating gradient fill colors, e.g. in stacked bar plots. |
A theme function.
library(volker)
library(ggplot2)
data <- volker::chatgpt
theme_set(theme_vlkr(base_size=15, base_fill = list("red")))
plot_counts(data, sd_gender)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.