cut.hierfly            package:clusterfly            R Documentation

_C_o_l_o_u_r _h_i_e_r_f_l_y _o_b_j_e_c_t

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

     Colour hierfly object into k clusters

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

     cut.hierfly(x, k=2, g=ggobi(x), ...)

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

       x: hierfly object to colour

       k: number of clusters

       g: GGobi instance displaying x, will create new if not specified

     ...: 

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

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

     Hadley Wickham <h.wickham@gmail.com>

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

     h <- hierfly(iris)
     hfly <- ggobi(h)
     cut(h, 2, hfly)
     h <- hierfly(iris, method="ward")
     g <- ggobi(h)
     cut(h, 2, g)

