lefrig2par:
Transforms an evaluation tree so that it can be plotted with
the "plottree" function of package "denpro"
Description
Evaluation trees are trees which are implemented with
"left" and "right" pointers.
We transform this tree representation to the representation with
"parent" pointers (level set tree), so that it can be plotted with
the "plottree" function of package "denpro".
For example, functions "densplit" and "eval.pick" return evaluation trees.
Usage
lefrig2par(et)
Arguments
et
evaluation tree;
result of "densplit", "eval.pick", "eval.cart", ...;
see the documentation of "eval.cart"
Value
Returns a level set tree:
parent
parent links
level
height of the node
center
determines the ordering of the nodes
volume
determines the horizontal positioning of the nodes