All Projects β†’ kaizadp β†’ soilpalettes

kaizadp / soilpalettes

Licence: MIT license
R color palettes inspired by soil profiles

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to soilpalettes

anypalette.js
🎨 Read/write all color palette file formats β€πŸ§‘πŸ’›πŸ’šπŸ’™πŸ’œ
Stars: ✭ 41 (+156.25%)
Mutual labels:  color-scheme, palettes
stats for soil survey
S4SS: Statistics for Soil Survey
Stars: ✭ 21 (+31.25%)
Mutual labels:  soil, pedology
aqp
Algorithms for Quantitative Pedology
Stars: ✭ 37 (+131.25%)
Mutual labels:  soil, pedology
tvthemes
ggplot2 themes and palettes based on your favorite TV shows
Stars: ✭ 120 (+650%)
Mutual labels:  ggplot2, color-scheme
ImageGoNord-pip
A tool that can convert your rgb images to nordtheme palette
Stars: ✭ 120 (+650%)
Mutual labels:  color-scheme
ggplot2 themes in github
A generated list of repos containing themes/styles for ggplot2
Stars: ✭ 43 (+168.75%)
Mutual labels:  ggplot2
slick
Vim/Neovim Colortheme–Truecolor, Stunning, Complete
Stars: ✭ 15 (-6.25%)
Mutual labels:  color-scheme
R4ds Exercise Solutions
Exercise solutions to "R for Data Science"
Stars: ✭ 226 (+1312.5%)
Mutual labels:  ggplot2
sublime-color-scheme-unit
A testing framework for Sublime Text color schemes.
Stars: ✭ 19 (+18.75%)
Mutual labels:  color-scheme
vscode.nvim
Neovim/Vim color scheme inspired by Dark+ and Light+ theme in Visual Studio Code
Stars: ✭ 362 (+2162.5%)
Mutual labels:  color-scheme
eva-theme
Eva themes built from https://github.com/kjakapat/base16-eva-scheme
Stars: ✭ 72 (+350%)
Mutual labels:  color-scheme
flavours
πŸŽ¨πŸ’§ An easy to use base16 scheme manager that integrates with any workflow.
Stars: ✭ 331 (+1968.75%)
Mutual labels:  color-scheme
Base2Tone-iterm2
Syntax highlighting colorschemes for iTerm2
Stars: ✭ 29 (+81.25%)
Mutual labels:  color-scheme
it-tools
A programing helper for developers built with Electron & Vue.js πŸš€
Stars: ✭ 114 (+612.5%)
Mutual labels:  color-scheme
npp-darcula
Dark theme for Notepad++ based on Darcula theme from JetBrains products
Stars: ✭ 114 (+612.5%)
Mutual labels:  color-scheme
Ggfittext
πŸ”  ggplot2 geoms to fit text into boxes
Stars: ✭ 233 (+1356.25%)
Mutual labels:  ggplot2
Amoyly-Xcode-Themes
Amoyly Xcode Themes
Stars: ✭ 59 (+268.75%)
Mutual labels:  color-scheme
gglaplot
Makes graphics in the GLA style using ggplot2
Stars: ✭ 15 (-6.25%)
Mutual labels:  ggplot2
Ciapre.tmTheme
Ciapre - an easy-on-the-eyes Sublime Text/TextMate color scheme.
Stars: ✭ 63 (+293.75%)
Mutual labels:  color-scheme
ggplotify
ggplot everything
Stars: ✭ 89 (+456.25%)
Mutual labels:  ggplot2

soilpalettes

DOI R build status

This package contains color palettes for RStudio, inspired by soil profiles. Palettes are colorblind-friendly and were created using Chroma.js and Coolors.

Source images and color hex values can be found in the images.md file in the root directory.


install package

# install.packages("devtools") 
devtools::install_github("kaizadp/soilpalettes")

Palettes

soil orders, suborders, and great groups

soil series

others


Examples
library(ggplot2)

ggplot(data=iris, aes(x=Sepal.Width, fill = Species))+
  geom_histogram(binwidth=0.2, color="black") + 
  xlab("Sepal Width") +  ylab("Frequency") + 
  ggtitle("Histogram of Sepal Width") + theme_bw()+
  
  scale_fill_manual(values = soil_palette("rendoll",3))

ggplot(data=iris, aes(x=Sepal.Width, fill=Species)) + 
  geom_density(stat="density", alpha=(0.6)) +
  xlab("Sepal Width") +  ylab("Density") + 
  ggtitle("Histogram & Density Curve of Sepal Width") + theme_bw()+
  
  scale_fill_manual(values = soil_palette("paleustalf",3))

library(palmerpenguins)

ggplot(penguins, aes(x = bill_length_mm, y = bill_depth_mm, color = species))+
  geom_point()+ 
  labs(x = "Bill length (mm)", y = "Bill depth (mm)",
       title = "Scatterplot of penguin bill dimensions",
       subtitle = "data = Palmer Penguins")+
  theme_bw()+
  
  scale_color_manual(values = soil_palette("paleustalf", 3)) 

ggplot(penguins, aes(y = body_mass_g, x = species, fill = species))+
  geom_violin(alpha = 0.5)+ 
  geom_dotplot(binaxis = "y", color = "black", fill="black", dotsize=0.3, stackdir = "center", binpositions="all")+
  labs(y = "Body mass (g)", x = "",
       title = "Violin plot of penguin body mass",
       subtitle = "data = Palmer Penguins")+
  theme_bw()+
  
  scale_fill_manual(values = soil_palette("podzol", 3)) 

ggplot(penguins, aes(x = bill_length_mm, y = bill_depth_mm, color = bill_length_mm))+
  geom_point()+ 
  labs(x = "Bill length (mm)", y = "Bill depth (mm)",
       title = "Scatterplot of penguin bill dimensions",
       subtitle = "data = Palmer Penguins")+
  theme_bw()+
  
  scale_color_gradientn(colors = rev(soil_palette("redox2",5))) 

Acknowledgments and Contributions

Code structure was modelled after the PNWColors and wesanderson packages.
Contribute soil palettes in the issues.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].