knitr::opts_chunk$set(echo = TRUE)

This package is a set of palettes for R based on the work of New Zealand expressionist painter Gretchen Albrecht. To install the package run:

devtools::install_github("dicook/gretchenalbrecht")

and to try it out:

library(ggplot2)
library(gretchenalbrecht)
library(ggthemes)

data(nz_cart_census)
ggplot(nz_cart_census, aes(x=long, y=lat, group=group,
 fill=MedianIncome2013)) +
 scale_fill_gretchenalbrecht(palette="winter_light",
                             discrete=FALSE) +
 geom_polygon() + theme_map() + theme(legend.position="right")

Available palettes at the moment are:

names(gretchenalbrecht_palettes)


dicook/gretchenalbrecht documentation built on May 13, 2019, 6:13 p.m.