Description Usage Arguments Details Examples
Minimal ggplot2 theme
1 | theme_leary(base_size = 12, ...)
|
base_size |
base font size |
... |
Other arguments passed to |
This is a draft version and will be updated as I improve my package development skills. It does not currently match the Roboto font used in my rmarkdown template (leary_html), but currently uses Helvetica font.
1 2 3 4 5 6 7 | library(ggplot2)
ggplot(mtcars, aes(wt, mpg)) +
geom_point() +
labs(title = "A basic example plot",
subtitle = "A little more detail in substitle?") +
theme_leary()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.