Learn R Programming

sits (version 1.1.0)

.config_colors: Get colors associated to the labels

Description

Get colors associated to the labels

Usage

.config_colors(labels, palette = "Harmonic", rev = TRUE)

Value

colors required to display the labels

Arguments

labels

labels associated to the training classes

palette

palette from `grDevices::hcl.pals()` replaces default colors when labels are not included in the config palette

rev

revert the order of colors?