Learn R Programming

voteogram (version 0.3.2)

theme_voteogram: voteogram ggplot2 theme

Description

Provides a very basic theme with no background, grid, axis text or axis ticks and an easy way to turn the legend on or off.

Usage

theme_voteogram(legend = TRUE)

Arguments

legend

if `FALSE` no legend is shown

Examples

Run this code
if (FALSE) {
# what you'd normally do
sen <- roll_call("senate", 115, 1, 110)
}

# using a saved object
sen <- readRDS(system.file("extdata", "sen.rds", package="voteogram"))

senate_carto(sen) +
  theme_voteogram()

Run the code above in your browser using DataLab