theme_statthinking | R Documentation |
Theme created specifically for the statistical thinking text.
theme_statthinking(base_size = 12, base_family = "sans")
base_size |
The base size of the text passed to ggplot2 theme. |
base_family |
The base font family to use, passed as a character string. |
library(ggplot2)
ggplot(mtcars, aes(x = wt, y = mpg, colour = factor(gear))) +
geom_point() +
facet_wrap(~am) +
geom_smooth(method = "lm", se = FALSE) +
theme_statthinking()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.