theme_cuckoo: Applies the ggplots theme "cuckoo"

Description Usage Arguments Value Examples

View source: R/themes.R

Description

A theme that can be applied to a ggplot.

Usage

1
2
theme_cuckoo(font_family = "Arial", base_size = 10,
  legend_position = c(0.01, 0.99), ...)

Arguments

font_family

Informs the font family to be used as a base. Defaulted to Tahoma.

base_size

Informs the base font size. Defaulted to size 10.

legend_position

Informs the postion of the legend. Use "none" to hide the legend.

Value

Returns the theme

Examples

1
2
3
4
5
census %>%
  ggplot(aes(x = State, fill = State)) +
  geom_bar(stat = "count") +
  coord_flip() +
  theme_cuckoo(font_family = "Tahoma",legend_position = "none")

neemtreeparrot/tidbitr documentation built on May 23, 2019, 1:31 p.m.