dist_sum: Calculate sum euclidean distances in color space

Description Usage Arguments See Also

View source: R/dist_sum.R

Description

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).

Usage

1
dist_sum(x, method = "euclidean")

Arguments

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)

See Also

dist t


AnonZebra/synratss documentation built on Oct. 9, 2021, 2:31 a.m.