Learn R Programming

ggdendro (version 0.1-20)

rpart_segments: Extract data frame from rpart object for plotting using ggplot.

Description

Extract data frame from rpart object for plotting using ggplot.

Usage

rpart_segments(x, ...)

Arguments

...

ignored

model

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

See Also

ggdendrogram

Other rpart functions: dendro_data.rpart, rpart_labels