theme_voteogram: voteogram ggplot2 theme

Description Usage Arguments Examples

View source: R/theme.r

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

1

Arguments

legend

if 'FALSE' no legend is shown

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
# what you'd normally do
sen <- roll_call("senate", 115, 1, 110)

## End(Not run)

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

senate_carto(sen) +
  theme_voteogram()

voteogram documentation built on May 2, 2019, 11:42 a.m.