makebina                package:delt                R Documentation

_T_r_a_n_f_o_r_m_s _a_n_d _e_v_a_l_u_a_t_i_o_n _t_r_e_e _t_o _t_h_e _t_r_e_e _o_b_j_e_c_t _o_f _R

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

     Evaluation trees are such trees that are implemented  with "left"
     and "right" pointers. We transform this tree representation to the
     tree object of the package "tree", so that it can be plotted by 
     "plot.tree" function from package "tree" or  by "draw.tree"
     function from package "maptree".

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

     makebina(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 an object of class tree.

_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)
     mb<-makebina(et)

     set.seed(1)
     dendat<-matrix(rnorm(20),10)  
     et<-densplit(dendat,minobs=2)
     mb<-makebina(et)

     #library(tree)
     #plot.tree(mb)

     #library(maptree)
     #draw.tree(mb)

