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