lefrig2par               package:delt               R Documentation

_T_r_a_n_s_f_o_r_m_s _a_n _e_v_a_l_u_a_t_i_o_n _t_r_e_e _s_o _t_h_a_t _i_t _c_a_n _b_e _p_l_o_t_t_e_d _w_i_t_h
_t_h_e "_p_l_o_t_t_r_e_e" _f_u_n_c_t_i_o_n _o_f _p_a_c_k_a_g_e "_d_e_n_p_r_o"

_D_e_s_c_r_i_p_t_i_o_n:

     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.

_U_s_a_g_e:

     lefrig2par(et)

_A_r_g_u_m_e_n_t_s:

      et: evaluation tree;  result of "densplit", "eval.pick",
          "eval.cart", ...; see the documentation of "eval.cart"

_V_a_l_u_e:

     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

_A_u_t_h_o_r(_s):

     Jussi Klemel

_S_e_e _A_l_s_o:

     'densplit',  'eval.pick'

_E_x_a_m_p_l_e_s:

     dendat<-sim.data(n=200,seed=5,type="mulmodII")
     et<-densplit(dendat)

     lst<-lefrig2par(et)

     plottree(lst)

