Ecosyste.ms: Awesome
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: 3 months ago
JSON representation
LaCroix Color Palettes for R.
- Host: GitHub
- URL: https://github.com/johannesbjork/LaCroixColoR
- Owner: johannesbjork
- Created: 2018-05-11T19:25:36.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-15T18:35:24.000Z (over 5 years ago)
- Last Synced: 2024-04-29T22:04:27.865Z (7 months ago)
- Language: R
- Homepage:
- Size: 749 KB
- Stars: 203
- Watchers: 4
- Forks: 17
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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])