diameter                package:gclus                R Documentation

_C_l_u_s_t_e_r _h_e_t_e_r_o_g_e_n_e_i_t_y _o_f _2-_d _d_a_t_a

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

     Computes measures of cluster heterogeneity of 2-d data, where 'x'
     and  'y' give the object coordinates.

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

     diameter(x, y, ...)
     star(x, y, ...)
     km2(x,y)
     gtot(x,y, ...)
     gave(x,y, ...)

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

       x: is a numeric vector. 

       y: is a numeric vector. 

     ...: are passed to 'dist'. 

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

     'diameter' computes the cluster diameter- the maximum distance
     between objects. 

     'star' computes the cluster star distance- the smallest total
     distance from one object to another.

     'km2' computes the kmeans distance.

     'gtot' computes the sum of all inter-object distances.

     'gave' computes the per-object average of all  inter-object
     distances.

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

     The cluster measure is returned.

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

     Catherine B. Hurley

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

     See Gordon, A. D. (1999).``Classification''. Second Edition.
     London: Chapman and Hall / CRC

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

     'colpairs', 'cpairs', 'order.single'

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

     x <- runif(20)
     y <- runif(20)
     diameter(x,y)

