| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/dendro_rpart.R |
| 3 |
\name{rpart_labels} |
| 4 |
\alias{rpart_labels} |
| 5 |
\title{Extract labels data frame from rpart object for plotting using ggplot.} |
| 6 |
\usage{ |
| 7 |
rpart_labels(x) |
| 8 |
} |
| 9 |
\value{ |
| 10 |
a list with two elements: $labels and $leaf_labels |
| 11 |
} |
| 12 |
\description{ |
| 13 |
This code is modified from the original plot.rpart in package rpart. |
| 14 |
} |
| 15 |
\seealso{ |
| 16 |
\code{\link[=ggdendrogram]{ggdendrogram()}} |
| 17 |
|
| 18 |
Other dendro_data methods: |
| 19 |
\code{\link{dendro_data}()}, |
| 20 |
\code{\link{dendro_data.rpart}()}, |
| 21 |
\code{\link{dendro_data.tree}()}, |
| 22 |
\code{\link{dendrogram_data}()} |
| 23 |
|
| 24 |
Other rpart functions: |
| 25 |
\code{\link{dendro_data.rpart}()}, |
| 26 |
\code{\link{rpart_segments}()} |
| 27 |
} |
| 28 |
\author{ |
| 29 |
Original author Brian Ripley |
| 30 |
} |
| 31 |
\concept{dendro_data methods} |
| 32 |
\concept{rpart functions} |
| 33 |
\keyword{internal} |