pev_gg_hcl_bloom: ggplot for HCL data on series of hex-colors

Description Usage Arguments Value Examples

View source: R/hcl-bloom.R

Description

Create a plot like Tableau made here.

Usage

1
2
3
4
5
6
7
pev_gg_hcl_bloom(data_hcl, data_hcl_ref = NULL, label = FALSE,
  max_chroma = NULL)

pev_gg_hcl_bloom_target(data_hcl, data_hcl_ref = NULL, label = FALSE,
  max_chroma = NULL)

pev_gg_hcl_bloom_lum(data_hcl, data_hcl_ref = NULL, label = FALSE)

Arguments

data_hcl

data.frame created using pev_data_hcl.

data_hcl_ref

data.frame created using pev_data_hcl_ref.

label

logical indicates to use axes labels, titles, etc.

max_chroma

numeric upper-limit for the chroma scale.

Value

Object with S3 class gg (ggplot).

Examples

1
2
3
4
5
6
  # without color-vision deficiency, with labels
  data_no_cvd <- pev_data_hcl("Viridis", include_cvd = FALSE)
  pev_gg_hcl_bloom(data_no_cvd, label = TRUE)

  # without color-vision deficiency, without labels
  pev_data_hcl("Viridis") %>% pev_gg_hcl_bloom()

ijlyttle/paleval documentation built on Dec. 25, 2019, 9:17 a.m.