Learn R Programming

visTree (version 0.8.1)

ptree_y: Function for determining a pathway

Description

Identifies the predicted outcome value for the relevant node.

Usage

ptree_y(newtree, node_id)

Arguments

newtree

Decision tree generated as a party object

node_id

Node ID