Colour palettes inspired by intertidal and shallow rocky reef nudibranchs and sea slugs photographed in NSW, Australia.
install.packages(“devtools”) devtools::install_github(“nikihubbard/nudibranch”)
library(nudibranch)
nudibranch_palette()
nudibranch_palette(“hypselodoris”)
ggplot(data, aes(x, y, colour = group)) + scale_colour_nudibranch(“hypselodoris”)
ggplot(data, aes(x, y, fill = group)) + scale_fill_nudibranch(“hydatina”)
scale_fill_manual(values = nudibranch_palette(“elysia”, n=4)[c(3, 4, 1)])+