powered by
## S3 method for class 'dendlist': plot(x, which = c(1L, 2L), ...)
dend <- iris[1:20, -5] %>% dist %>% hclust %>% as.dendrogram dend2 <- iris[1:20, -5] %>% dist %>% hclust(method = "single") %>% as.dendrogram x <- dendlist(dend, dend2) plot(x)
Run the code above in your browser using DataLab