Learn R Programming

add2ggplot (version 0.3.0)

theme_du_bois: 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.

Value

The function to use + in the ggplot workflow.

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.

Examples

Run this code
# NOT RUN {
datasets::mtcars %>%
  ggplot2::ggplot(ggplot2::aes(mpg, disp)) +
  ggplot2::geom_point() +
  theme_du_bois()
# }

Run the code above in your browser using DataLab