R/div_colors.R

#' 11 different color - diverging group (from Red to Blue). It is useful with work with barplot or mapplot.
#' previous name: diverging_colors
#' @export

div_colors <- RColorBrewer::brewer.pal(11, "RdBu")

attr(div_colors, "message") <- "11-coloured diverging palette"
pearsonplc/vispear documentation built on May 30, 2019, 3:45 p.m.