

mhclass(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_.

_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 classi-
          fications implied by `tree' given the initial par-
          tition.

_V_a_l_u_e_:

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

_D_E_S_C_R_I_P_T_I_O_N_:

     Gives classifications corresponding to the stages of
     hierarchical clustering.

_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)

