Skip to contents

Helper function to incorporate Cesar colors into scale fills

Usage

cesar_gradient_n_pal(
  palette = "cesar_green_c",
  alpha = 1,
  reverse = T,
  na.color = NA
)

Arguments

palette

Choose from 'cesar_palettes' list

alpha

sets transparency of each color

reverse

if true, reverses the order of palette

na.color

color for NA values