lrpSubFunctions {longRPart}R Documentation

Helper functions from the rpart library

Description

Helper functions used in the plotting process for longRPartTreePlot

Usage

rpartco(tree, parms =  paste(".rpart.parms", dev.cur(), sep = "."))
tree.depth(nodes)

Arguments

tree Model returned from rpart
parms secondary data for the rpartco function
nodes The nodes of a tree

Details

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.

Value

each return approriate vectors/lists

See Also

lrpTreePlot plot.rpart


[Package longRPart version 1.0 Index]