nycpalettes

September 21, 2020 ยท View on GitHub

Small R package that contains color palettes based on pictures that I (and Sharath Koorathota) took around NYC.

Palettes created using the colorfindr package and heavily inspired by the wesanderson package.

Installation

Development version on GitHub:

# install.packages("devtools")
devtools::install_github("kellycotton/nycpalettes")

Example

library(nycpalettes)
library(ggplot2)

ggplot(mtcars, aes(mpg, disp, color = factor(gear))) + geom_point() +
  scale_color_manual(values = nyc_palette("DUMBO"))

Palettes

nyc_palette("ParkBlossoms")
nyc_palette("SunsetPlatform")
nyc_palette("EmpireView")
nyc_palette("Sunset1")
nyc_palette("Sunset2")
nyc_palette("Skyline1")
nyc_palette("Skyline2")
nyc_palette("ShoreSkyline")
nyc_palette("Empire")
nyc_palette("Statue1")
nyc_palette("Statue2")
nyc_palette("World")
nyc_palette("Met")
nyc_palette("BrooklynBridge")
nyc_palette("DUMBO")
nyc_palette("Yankees")