tree_labels: Extract labels data frame from tree object for plotting using...

View source: R/dendro_tree.R

tree_labelsR Documentation

Extract labels data frame from tree object for plotting using ggplot.

Description

Extract labels data frame from tree object for plotting using ggplot.

Usage

tree_labels(model, uniform, ...)

Arguments

model

object of class "tree", e.g. the output of tree()

...

ignored

Value

a list with two elements: $labels and $leaf_labels

Author(s)

Code modified from original by Brian Ripley

See Also

ggdendrogram()

Other tree functions: dendro_data.tree(), get_data_tree_leaf_labels(), tree_segments()


ggdendro documentation built on May 29, 2024, 6:12 a.m.