knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
A ggplot2 color palette based on some colourful Seabirds!
The package includes palettes for 8 species and is based on "asteves/tayloRswift"
You can install the released version of seabiRd with:
remotes::install_github("grwhumphries/seabiRd")
library(tidyverse) library(palmerpenguins) library(seabiRd) x <- data.frame(object=LETTERS[1:6],values=c(10,12,15,9,5,11)) y <- data.frame(yvalues=c(1,5,2,7,8,4),xvalues=c(10,12,15,9,5,11))
ggplot(x)+ geom_bar(aes(x=object,y=values,fill=object),stat="identity",color="black")+ scale_fill_seabird(palette = "atlanticpuffin")+ theme_minimal()
ggplot(penguins, aes(bill_depth_mm, bill_length_mm, color = species)) + geom_point(size = 4) + scale_color_seabird(palette = "wavedalbatross")+ theme_minimal()
bluefootedbooby
= "#c3eaf1", "#dcd2d1", "#3f4555", "#89634c", "#bdc09d", "#704d3d"
atlanticpuffin
= "#e38643", "#100f19", "#f4f2f1", "#2c2a38", "#c1012c", "#875309"
kingpenguin
= "#1d1a18", "#eaf3f1", "#3d373b", "#ea9200", "#9db2bd", "#ee964d"
wavedalbatross
= "#e6e7e2", "#d9b20c", "#d4bb87", "#928e84", "#504531", "#291914"
whiskeredauklet
= "#4e5051", "#c13214", "#a49899", "#151616", "#a7a5ae", "#f4f2f1"
incatern
= "#e92b19", "#e7ca2b", "#f4f2f1", "#757f8f", "#333842", "#c74611"
chileanskua
= "#302b2b", "#543f35", "#f8dcad", "#8a563d", "#a88b75", "#7a6356"
redleggedkittiwake
= "#ddd58d", "#f4f2f1", "#96979d", "#d5d7d8", "#414038", "#ac2c22"
This package was inspired by asteves/tayloRswift.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.