Learn R Programming

vangogh (version 0.1.3)

compare_palettes: Compare multiple Van Gogh palettes in a facet-style visualization

Description

Compare multiple Van Gogh palettes in a facet-style visualization

Usage

compare_palettes(
  palettes,
  show_hex = TRUE,
  colorblind = FALSE,
  type = "discrete",
  n = NULL
)

Arguments

palettes

Character vector of palette names

show_hex

Logical: display hex codes

colorblind

Logical: simulate colorblind view

type

"discrete" or "continuous"

n

Number of colors for continuous palettes