0

I have a dendrogram produced by hclust in R. I want to collapse one internal node and get the resulting new hclust object (for plotting etc). Note that I'm not doing a horizontal cut but just collapsing one node. Thanks!

I've looked through the dendrogram pkg, but it's not clear how to do it there,

  • It's easier to help you if you include a simple [reproducible example](https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example) with sample input and desired output that can be used to test and verify possible solutions. – MrFlick Oct 31 '22 at 19:02

0 Answers0