README.md

LaCroixColoR (beta)

LaCroix Color Palettes for R. \ Choose from 20 different LaCroix flavors--quench your thirst!

Install package

install.packages("devtools") \ devtools::install_github("johannesbjork/LaCroixColoR")

For discrete palettes

lacroix_palette("Pamplemousse", type = "discrete")

lacroix_palette("PassionFruit", type = "discrete")

lacroix_palette("PeachPear", type = "discrete")

For continuous palettes

lacroix_palette("Pamplemousse", n = 50, type = "continuous")

lacroix_palette("PassionFruit", n = 50, type = "continuous")

lacroix_palette("PassionFruit", n = 25, type = "continuous")

lacroix_palette("PassionFruit", n = 10, type = "continuous")

lacroix_palette("PeachPear", n = 50, type = "continuous")

For paired palette

lacroix_palette(type = "paired")

Example plots

Plotting maps using ggmaps

lacroix_palette("Pamplemousse", n = 7, type = "continuous")

Contact: Dave Armitage (dave.armitage@gmail.com) & Johannes Bjork (bjork.johannes@gmail.com)



johannesbjork/LaCroixColoR documentation built on May 20, 2019, 9:15 p.m.