Learn R Programming

IntClust (version 0.1.0)

ClusterCols: Matching clusters with colours

Description

Internal function of ClusterPlot.

Usage

ClusterCols(x, Data, nrclusters = NULL, cols = NULL, colorComps = NULL)

Arguments

x

The leaf of a dendrogram.

Data

A clustering object.

nrclusters

The number of clusters to divide the dendrogram in. Default is NULL.

cols

A character vector with the colours to be used. Default is NULL.

colorComps

A character vector of a specific set of objects to be coloured. Default is NULL.