R - color palette packages: RColorBrewer (e.g. brewer.pal()) and yarrr (e.g. piratepal())

03 Jun 2018

Two packages providing color palettes:

library(RColorBrewer)
darkcols <- brewer.pal(8, "Dark2")


library(yarrr)
piratepal(palette = "scholar", action = "return")


[ R  package  plot  colors  ]