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)                                 

leonardokume/TreeAndLeaf documentation built on July 10, 2020, 4:57 p.m.