rpart_segments {ggdendro}R Documentation

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

model

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

...

ignored

See Also

ggdendrogram

Other rpart functions: dendro_data.rpart; rpart_labels


[Package ggdendro version 0.1-15 Index]