Generate versions of colors using color-vision deficiency simulation.
pth_data_cvd(x, cvd = pth_cvd_grid(), ...)
# S3 method for default
pth_data_cvd(x, cvd = pth_cvd_grid(), ...)
# S3 method for character
pth_data_cvd(x, cvd = pth_cvd_grid(), transformer = pth_to_cieluv, ...)
# S3 method for pth_hex
pth_data_cvd(x, cvd = pth_cvd_grid(), transformer = pth_to_cieluv, ...)
# S3 method for pth_palette
pth_data_cvd(x, cvd = pth_cvd_grid(), n_point = 11, ...)
# S3 method for pth_mat
pth_data_cvd(x, cvd = pth_cvd_grid(), ...)character, pth_mat, or pth_palette: a means to express color
tbl_df with columns condition, severity;
see pth_cvd_grid().
other args, not used.
function used to transform the colors to new
color space, e.g. pth_to_cieluv.
integer number of points from the palette.
tibble with columns "hex_original", "condition", "severity",
"luminance", "chroma", "hue", "hex".