mhclass                package:mclust                R Documentation

_C_l_a_s_s_i_f_i_c_a_t_i_o_n_s _f_o_r _h_i_e_r_a_r_c_h_i_c_a_l _c_l_u_s_t_e_r_i_n_g.

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

     Gives classifications corresponding to the stages of hierarchical
     clustering.

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

     mhclass(tree, nclusters)

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

    tree: An `"mhtree"' object, which is a matrix whose columns are
          integers  corresponding to clusters merged at each stage of
          hierarchical clustering (classification tree), together with
          an attribute giving the initial partition for the
          hierarchical process. 

nclusters: the numbers of clusters for which classifications are
          desired. The default is to produce all classifications
          implied by `tree' given the initial partition. 

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

     a matrix whose columns are the classifications corresponding to
     each value of `nclusters'. Columns are labeled by the
     `as.character' representation of the number of clusters.

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

     `mhtree'

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

     data(iris)
     mhclass(mhtree(iris[,1:4]), 2:6)

