View source: R/radialNetwork.R
as.radialNetwork | R Documentation |
as.radialNetwork
converts an R hclust or dendrogram object into a list
suitable for use by the radialNetwork
function.
as.radialNetwork(d, root)
d |
An object of R class |
root |
An optional name for the root node. If missing, use the first argument variable name. |
as.radialNetwork
coverts R objects of class hclust
or
dendrogram
into a list suitable for use with the radialNetwork
function.
# Create a hierarchical cluster object and display with radialNetwork
## dontrun
hc <- hclust(dist(USArrests), "ave")
radialNetwork(as.radialNetwork(hc))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.