as.radialNetwork

0th

Percentile

Convert an R hclust or dendrogram object into a radialNetwork list.

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

Usage
as.radialNetwork(d, root)
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.

Aliases
  • as.radialNetwork
Examples
# Create a hierarchical cluster object and display with radialNetwork
## dontrun
hc <- hclust(dist(USArrests), "ave")
radialNetwork(as.radialNetwork(hc))

Documentation reproduced from package networkD3, version 0.2.13, License: GPL (>= 3)

Community examples

Looks like there are no examples yet.