Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/johannesbjork/LaCroixColoR

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

Last synced: about 2 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 ([email protected]) & Johannes Bjork ([email protected])