An open API service indexing awesome lists of open source software.

https://github.com/johannesbjork/LaCroixColoR

LaCroix Color Palettes for R.
https://github.com/johannesbjork/LaCroixColoR

Last synced: 6 months ago
JSON representation

LaCroix Color Palettes for R.

Awesome Lists containing this project

README

          

# 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)