as.radialNetwork: Convert an R hclust or dendrogram object into a radialNetwork...

Description Usage Arguments Details Examples

View source: R/radialNetwork.R

Description

as.radialNetwork converts an R hclust or dendrogram object into a list suitable for use by the radialNetwork function.

Usage

1

Arguments

d

An object of R class hclust or dendrogram.

root

An optional name for the root node. If missing, use the first argument variable name.

Details

as.radialNetwork coverts R objects of class hclust or dendrogram into a list suitable for use with the radialNetwork function.

Examples

1
2
3
4
# Create a hierarchical cluster object and display with radialNetwork
## dontrun
hc <- hclust(dist(USArrests), "ave")
radialNetwork(as.radialNetwork(hc))

databrew/nd3 documentation built on May 29, 2019, 7:13 a.m.