powered by
Return function to interpolate a Globe and Mail color palette
tgam_pal(palette = "main", reverse = FALSE, ...)
Character name of palette in tgam_palettes. Currently, one of 'main' or 'alternate'.
Boolean indicating whether the palette should be reversed
Additional arguments to pass to colorRampPalette()
A character vector of interpolated colour values
# NOT RUN { tgam_pal()(3) tgam_pal(palette = 'alternate')(3) # }
Run the code above in your browser using DataLab