theme_coiaf | R Documentation |
Custom ggplot2 theme
theme_coiaf(
base_size = 10,
base_family = "",
base_line_size = base_size/22,
base_rect_size = base_size/22
)
base_size |
base font size, given in pts. |
base_family |
base font family |
base_line_size |
base size for line elements |
base_rect_size |
base size for rect elements |
library("ggplot2")
p <- ggplot(mtcars, aes(x = wt, y = mpg, colour = factor(gear))) +
geom_point() +
facet_wrap(~am) +
geom_smooth(method = "lm", se = FALSE)
p + theme_coiaf()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.