Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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

Code modified from original by Brian Ripley

See Also


ggdendro

Create Dendrograms and Tree Diagrams Using 'ggplot2'

v0.1.22
GPL-2 | GPL-3
Authors
Andrie de Vries [aut, cre], Brian D. Ripley [aut] (author of package tree)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.