as.dendro: Coerces object to class dendro.

View source: R/dendro_data.R

as.dendroR Documentation

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()


andrie/ggdendro documentation built on April 1, 2024, 6:44 p.m.