R: Coerces object to class dendro.

as.dendro {ggdendro} | R 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 jutification of labels

### See Also

`dendro_data` and `ggdendro-package`

[Package ggdendro version 0.1-20 Index]