remove_nodes_nodePar | R Documentation |
Go through the dendrogram nodes and remove its nodePar
remove_nodes_nodePar(dend, ...)
dend |
a dendrogram object |
... |
not used |
A dendrogram, after removing the nodePar attribute in all of its nodes,
get_root_branches_attr, assign_values_to_branches_edgePar
## Not run:
dend <- USArrests[1:5, ] %>%
dist() %>%
hclust() %>%
as.dendrogram()
dend <- color_branches(dend, 3)
par(mfrow = c(1, 2))
plot(dend)
plot(remove_branches_edgePar(dend))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.