Learn R Programming

MLGL (version 1.0.0)

uniqueGroupHclust: Find all unique groups in hclust results

Description

Find all unique groups in hclust results

Usage

uniqueGroupHclust(hc)

Value

A list containing:

indexGroup

Vector containing the index of variables.

varGroup

Vector containing the index of the group of each variable.

Arguments

hc

output of hclust function

Author

Quentin Grimonprez

Examples

Run this code
hc <- hclust(dist(USArrests), "average")
res <- uniqueGroupHclust(hc)

Run the code above in your browser using DataLab