Method for coercing object to class dendro.
as.dendro(segments, labels, leaf_labels = NULL, class)
data.frame with segment data
data.frame with labels data
data.frame with leaf label data
The class of the original model object, e.g. "hclust". This is used by ggdendrogram
to determine the angle and jutification of labels