lrpSubFunctions {longRPart} | R Documentation |
Helper functions used in the plotting process for longRPartTreePlot
rpartco(tree, parms = paste(".rpart.parms", dev.cur(), sep = ".")) tree.depth(nodes)
tree |
Model returned from rpart |
parms |
secondary data for the rpartco function |
nodes |
The nodes of a tree |
rpartco
is used to find the (x,y) coordinates of a tree-plot.
tree.depth
is used to find the depth of a set of nodes.
each return approriate vectors/lists