.config_colors {sits}R Documentation

Get colors associated to the labels

Description

Get colors associated to the labels

Usage

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

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?

Value

colors required to display the labels


[Package sits version 0.16.2 Index]