sort_colours: Function to sort colors

Description Usage Arguments

View source: R/sort_colours.R

Description

Warning it is not clear how to sort colors properly. As of now, only one way is implemented here. First we transform the hex values to RGB and then to HSV. Then we apply pca retaining only 1 componen and sort it.

Usage

1
sort_colours(col = NULL, method = "PCA_HSV")

Arguments

col

color vector in hex format

method

only "PCA_HSV" is implemented


jakubkovac/Lori documentation built on Jan. 9, 2020, 9:49 p.m.