Learn R Programming

rpart (version 2.0-3)

rpart.branch: Draws horseshoes - left child, up over, down to right child

Description

Draws a branch of a tree.

Usage

rpart.branch(x, y, node, branch)

Arguments

x
x coordinates of nodes
y
y coordinates of nodes
node
description of node number
branch
controls shape of horseshoe (1 is default, 0 has no shoulder)

Value

  • Internal function, called by plot.rpart. Not usually called by user.