Learn R Programming

simplevis (version 1.1.4)

theme_vbar: Theme for vertical bar ggplots.

Description

Theme for vertical bar ggplots.

Usage

theme_vbar(font_family = "Helvetica", font_size_title = 11,
  font_size_body = 10)

Arguments

font_family

Font family to use. Defaults to "Helvetica".

font_size_title

Font size for the title text. Defaults to 11.

font_size_body

Font size for all text other than the title. Defaults to 10.

Value

A ggplot theme.

Examples

Run this code
# NOT RUN {
ggplot2::ggplot() +
  theme_vbar("Courier", 9, 7) +
  ggplot2::ggtitle("This is a title of a selected font family and size")
# }

Run the code above in your browser using DataLab