create_statworx_palette: Create a color palette function.

View source: R/main.R

create_statworx_paletteR Documentation

Create a color palette function.

Description

Create a color palette function.

Usage

create_statworx_palette(
  palette = "statworx_standards_1",
  reverse = FALSE,
  col_list = "",
  ...
)

Arguments

palette

A color palette or "custom".

reverse

If true, order of palette is reversed.

col_list

Provide a vector of colors if @param palette = "custom".

...

arguments passed to colorRampPalette

Value

Palette generating function based on "colorRampPalette".


STATWORX/statThemes documentation built on May 13, 2022, 12:45 a.m.