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

...

ignored

model

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

See Also

ggdendrogram()

Other rpart functions: dendro_data.rpart(), rpart_labels()


[Package ggdendro version 0.1.23 Index]