Learn R Programming

ggdendro (version 0.1.22)

as.dendro: Coerces object to class dendro.

Description

Method for coercing object to class dendro.

Usage

as.dendro(segments, labels, leaf_labels = NULL, class)

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

See Also

dendro_data() and ggdendro-package()