Learn R Programming

ggblanket (version 10.0.0)

weave_col_palette_o: Set an ordinal colour palette

Description

Set an ordinal colour palette

Usage

weave_col_palette_o(
  col_palette_o = scales::pal_viridis(option = "G", direction = -1),
  col_palette_o_na = "#988F88FF"
)

Arguments

col_palette_o

For an ordinal scale, a scales::pal_*() function. Use NULL for ggplot2 default.

col_palette_o_na

For an ordinal scale, a hex code.