Oversimplifying things, color-vision deficiency collapses the color-wheel into a "color-line", such that luminance and chroma are the important dimensions.
pth_plot_lumchroma(x, ...)
# S3 method for default
pth_plot_lumchroma(x, ...)
# S3 method for character
pth_plot_lumchroma(
  x,
  cvd = pth_cvd_grid_deupro(),
  transformer = NULL,
  color_point_inner = "white",
  color_point_outer = "black",
  size_point_inner = 6,
  size_point_outer = 7,
  ...
)
# S3 method for pth_hex
pth_plot_lumchroma(
  x,
  cvd = pth_cvd_grid_deupro(),
  transformer = NULL,
  color_point_inner = "white",
  color_point_outer = "black",
  size_point_inner = 6,
  size_point_outer = 7,
  ...
)
# S3 method for pth_mat
pth_plot_lumchroma(
  x,
  cvd = pth_cvd_grid_deupro(),
  color_point_inner = "white",
  color_point_outer = "black",
  size_point_inner = 6,
  size_point_outer = 7,
  ...
)
# S3 method for data.frame
pth_plot_lumchroma(
  x,
  name_color_space = NULL,
  color_point_inner = "white",
  color_point_outer = "black",
  size_point_inner = 6,
  size_point_outer = 7,
  ...
)Object coerced into a CVD data-frame (pth_data_cvd()). Can be a
hex-code, pth_mat, or even a data frame.
other args (not used)
tbl_df with columns condition, severity;
see pth_cvd_grid().
function used to transform the colors to new
color space, e.g. pth_to_cieluv.
character colors to use
to outline points.
numeric size of the points.
character name of the color space used.
Object with S3 class ggplot.
# uses some colors from Okabe-Ito
pth_plot_lumchroma(c("#E69F00", "#009E73", "#D55E00", "#F0E442"))