lefrig2par: Transforms an evaluation tree so that it can be plotted with...

Description Usage Arguments Value Author(s) See Also Examples

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

1

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

Author(s)

Jussi Klemela

See Also

densplit, eval.pick

Examples

1
2
3
4
5
6
7
library(denpro)
dendat<-sim.data(n=100,seed=5,type="mulmodII")
et<-densplit(dendat)

lst<-lefrig2par(et)

plottree(lst)

delt documentation built on May 2, 2019, 3:42 p.m.