ac                   package:gclus                   R Documentation

_C_l_u_s_t_e_r_i_n_g _c_o_e_f_f_i_c_i_e_n_t_s _f_r_o_m _p_a_c_k_a_g_e _c_l_u_s_t_e_r.

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

     Computes clustering coefficients from 'cluster', where 'x' and 
     'y' give the object coordinates.

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

     ac(x, y, ...)
     sil(x, y, groups, ...)

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

       x: is a numeric vector. 

       y: is a numeric vector. 

  groups: is a vector of group memberships, used by 'sil' only.

     ...: are passed to 'agnes' in 'ac' and to 'dist'  in 'sil'.

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

     'ac' - Computes clustering coefficient from 'agnes{cluster}'.

     'sil' - Computes the silhouette coefficient from from package 
     'cluster'.

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

     The clustering coefficient is returned.

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

     Catherine B. Hurley

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

     Kaufman, L. and Rousseeuw, P.J. (1990). Finding Groups in Data: An
     Introduction to Cluster Analysis . Wiley, New York.

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

     'agnes', 'silhouette', 'dist'.

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

     x <- runif(20)
     y <- runif(20)
     g <- rep(c("a","b"),10)

     ac(x,y)
     sil(x,y,g)

