ClusCol {SOMEnv}R Documentation

Custom color sequence for clusters

Description

Generate the sequence of colors to plot the SOM map according to clusters

Usage

ClusCol(Centroids, Cluster, colSeq = rainbow(nrow(data.frame(Centroids))))

Arguments

Centroids

Centroids matrix

Cluster

Vector containing cluster number assignment for prototypes

colSeq

Color sequence for the clusters

Value

A vector of colors with length equal to Cluster

Author(s)

Sabina Licen

References

Licen, S., Cozzutto, S., Barbieri, P. (2020) Aerosol Air Qual. Res., 20 (4), pp. 800-809. DOI: 10.4209/aaqr.2019.08.0414


[Package SOMEnv version 1.1.2 Index]