amerika: American Politics-Inspired Color Palette Generator

A color palette generator inspired by American politics, with colors ranging from blue on the left to gray in the middle and red on the right. A variety of palettes allow for a range of applications from brief discrete scales (e.g., three colors for Democrats, Independents, and Republicans) to continuous interpolated arrays including dozens of shades graded from blue (left) to red (right). This package greatly benefitted from building on the source code (with permission) from Ram and Wickham (2015).

Getting started

Package details

AuthorPhilip Waggoner [aut, cre] (<https://orcid.org/0000-0002-7825-7573>)
MaintainerPhilip Waggoner <[email protected]>
LicenseMIT + file LICENSE
Version0.1.0
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("amerika")

Try the amerika package in your browser

Any scripts or data that you put into this service are public.

amerika documentation built on May 6, 2019, 1:10 a.m.