get_distance | R Documentation |
Uses farver::compare_colour()
to calculate perceptual distances
along intervals over a palette-function.
get_distance(pal_luv, n = 20, method = "cie2000", ...)
pal_luv |
|
n |
|
method |
|
... |
other arguments sent to |
numeric
vector, length n
, perceptual distances for
each interval.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.