theme_statthinking: Theme for the Statistical Thinking Text

View source: R/book_theme.r

theme_statthinkingR Documentation

Theme for the Statistical Thinking Text

Description

Theme created specifically for the statistical thinking text.

Usage

theme_statthinking(base_size = 12, base_family = "sans")

Arguments

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.

Examples

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

lebebr01/statthink documentation built on Feb. 13, 2024, 12:59 p.m.