Learn R Programming

ggdendro (version 0.1.23)

tree_segments: Extract data frame from tree object for plotting using ggplot.

Description

Extract data frame from tree object for plotting using ggplot.

Usage

tree_segments(model, uniform, ...)

Arguments

model

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

...

ignored

Author

Code modified from original by Brian Ripley

See Also

ggdendrogram()

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