Custom theme that can be applied to ggplot2 plots. Increases base font size, sets a white background, grey grid, and black border and text.
Arguments
- base_size
Base font size applied to all text in the plot (default 18)
- base_family
Base font type applies to all text in the plot
- grid
Character to determines how grid lines should be drawn. Options are "all", "x", "y", or "none".
- ticks
Logical indicating if axis ticks should be drawn. Defaults to
FALSE
.
Examples
if (FALSE)
ggplot(mtcars, aes(factor(cyl), mpg)) + geom_boxplot() + tr_theme()