R/UF_pal.R

Defines functions UF_pal

#' UF_pal
#'
#' @param palette
#' @param reverse
#' @param ...
#' @export
#' @return

UF_pal <- function(palette = "primary", reverse = FALSE, ...) {
  pal <- UF_palettes[[palette]]

  if (reverse) pal <- rev(pal)

  colorRampPalette(pal, ...)
}
ArielSotoCaro/UFcolors documentation built on May 27, 2021, 12:13 p.m.