#' Setup fill palette for ggplot2

scale_fill_ocha(..., palette = "blue", discrete = TRUE, alpha = 1,
  reverse = TRUE)

Arguments

...

additional arguments to pass to scale_color_gradientn

palette

Choose from 'ocha_palettes' list

discrete

whether to use a discrete colour palette

alpha

pass through parameter to viridis

reverse

If TRUE, the direction of the colours is reversed.