theme_leary: Minimal ggplot2 theme

Description Usage Arguments Details Examples

View source: R/theme_leary.R

Description

Minimal ggplot2 theme

Usage

1
theme_leary(base_size = 12, ...)

Arguments

base_size

base font size

...

Other arguments passed to theme_leary

Details

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.

Examples

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()

mleary/learylib documentation built on Sept. 6, 2020, 9:19 p.m.