hclust2igraph: Convert an hclust to an igraph

Description Usage Arguments Value See Also Examples

View source: R/hclust2igraph.R

Description

Function for converting a hclust object to an igraph.

Usage

1

Arguments

hc

a hclust object.

Value

An igraph object.

See Also

hclust

Examples

1
2
hc <- hclust(dist(USArrests), "ave")
gg <- hclust2igraph(hc)                                 

TreeAndLeaf documentation built on Nov. 8, 2020, 4:51 p.m.