Description Usage Arguments See Also
Calculates the sum of euclidean or Manhattan/city block distances, using a hex color code data frame with three rows (one for each color axis - e. g. [R] [G] [B]) and three columns (one for each response).
1 | dist_sum(x, method = "euclidean")
|
x |
a 3 row, 3 columns data frame with color space specifications |
fmt |
specifies type of distance to compute ("euclidean" for Euclidean distances, "manhattan" for Manhattan/city block distances - "euclidean" is standard) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.