get_cluster_elem: Get indices of individuals that are part of a cluster

Description Usage Arguments Value Examples

Description

Get indices of individuals that are part of a cluster

Usage

1
get_cluster_elem(mytree, i)

Arguments

mytree

the hierarchical classification tree

i

the ID of the cluster

Value

a vector of indices

Examples

1
2
hc <- hclust(dist(USArrests), "ave")
get_cluster_elem(hc, 30)

lvaudor/classMapR documentation built on May 7, 2019, 10:54 p.m.