ComputeSymmetry: Computes the symmetry of a given bi-variate color palette

Description Usage Arguments Value Examples

View source: R/colorpatch_impl.R

Description

Computes the symmetry of a given bi-variate color palette

Usage

1
ComputeSymmetry(pal, color.space = "LAB")

Arguments

pal

A two-sided input palette colorspace::color

color.space

Color space where the distances shall be computed (default "LAB")

Value

a data frame with index, side (pos/neg) and distance

Examples

1
2
3
data("OptimGreenRedLAB")
df <- ComputeSymmetry(OptimGreenRedLAB)
print(df)

colorpatch documentation built on May 1, 2019, 10:28 p.m.