Learn R Programming

rpart (version 2.0-3)

rpartco: Calculate Plotting Coordinates for Nodes of an Rpart Object

Description

Calculate plotting coordinates for nodes of an rpart object.

Usage

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

Arguments

tree
fitted model object of class rpart. This is assumed to be the result of some function that produces an object with the same named components as that returned by the rpart function.
parms
Parameters carried over from the function plot.rpart (uniform, branch, compress, nspace, margin, ...

Value

  • Called by plot.rpart.

Details

This is not intended to be called directly by users.

See Also

plot.rpart.