Description Usage Arguments Value Examples
View source: R/colorpatch_impl.R
Computes the perceptional distance between two neighboring colors
1 | ColorDistance(pal, color.space = "LAB")
|
pal |
the color palette |
color.space |
color space in which the distance shall be computed (default "LAB") |
a vector of distances
1 2 | data("OptimGreenRedLAB")
dd <- ColorDistance(OptimGreenRedLAB)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.