theme_du_bois {add2ggplot}R Documentation

Use Du Bois's theme

Description

theme_du_bois is one of ggplot themes for ploting.

Usage

theme_du_bois(font_name = "")

Arguments

font_name

A Character.

Details

The function I developed originates from this GitHub Repository by the statistician Matthew A. He reproduces the sort of images originated from W.E.B. Du Bois.

Value

The function to use + in the ggplot workflow.

Author(s)

Jiaxiang Li

Examples

datasets::mtcars %>%
  ggplot2::ggplot(ggplot2::aes(mpg, disp)) +
  ggplot2::geom_point() +
  theme_du_bois()

[Package add2ggplot version 0.3.0 Index]