powered by
This function takes advantage of nested key selections to implement an interactive dendrogram. Selecting a node selects all the labels (i.e. leafs) under that node.
plot_dendro(d, set = "A", xmin = -50, height = 500, width = 500, ...)
a dendrogram object
defines a crosstalk group
minimum of the range of the x-scale
height
width
arguments supplied to subplot()
subplot()
Carson Sievert
plot_ly(), plot_mapbox(), ggplotly()
plot_ly()
plot_mapbox()
ggplotly()
if (FALSE) { hc <- hclust(dist(USArrests), "ave") dend1 <- as.dendrogram(hc) plot_dendro(dend1, height = 600) %>% hide_legend() %>% highlight(persistent = TRUE, dynamic = TRUE) }
Run the code above in your browser using DataLab