I created a dendrogram (ddg0) using hclust in the usual way. I want to collapse UP the tree in various ways, that is, from the leaves up to the root. Optimally, I would give the id of a member of a final split in ddg0, and return a new ddg1 with that split collapsed. Alt, I could give a depth to collapse up to (such that ddg1 would have n fewer levels than ddg0). That sort of thing. I could, of course, program this myself, but it seems like something that is so obviously needed that there is very likely to be a package that does it already. Is there? TIA 'Jeff
-- View this message in context: http://r.789695.n4.nabble.com/Collapse-UP-a-dendrogram-tp3923907p3923907.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.