R/norment_cols.R

Defines functions norment_cols

Documented in norment_cols

#' Create a palette from the color definitions
#'
#' @keywords internal
#' @export

norment_cols <- function(...) {
  cols = c(...)
  if (is.null(cols))
    return (norment_colors)
  norment_colors[cols]
}
norment/normentR documentation built on Nov. 11, 2020, 2:16 a.m.