trclcomp               package:mvpart               R Documentation

_T_r_e_e-_C_l_u_s_t_e_r_i_n_g _C_o_m_p_a_r_i_s_o_n

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

     This function compares the within-group variation for groups
     formed by tree partitioning and unconstrained clustering. The
     results are plotted and returned invisibly.

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

     trclcomp(x, method = "com")

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

       x: Rpart object with method "mrt" - see 'rpart'

  method: The clustering method for the unconstrained clustering - see
          'hclust'

     .

_D_e_t_a_i_l_s:

     The within-group variation for groups formed by tree partitioning
     and  unconstrained clustering are compared for all sizes of the
     hierarchy of tree partitions,

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

     Returns a list (invisibly) of the within-tree and within-cluster
     variation for all tree sizes.

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

     Glenn De'ath

_R_e_f_e_r_e_n_c_e_s:

     De'ath G. (2002)   Multivariate Regression Trees : A New Technique
     for Constrained Classification Analysis. Ecology 83(4):1103-1117.

     \author{ Glenn De'ath }

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

     data(spider)
     fit <- mvpart(data.matrix(spider[,1:12])~herbs+reft+moss+sand+twigs+water,spider)  
     trclcomp(fit)

