| ac {gclus} | R Documentation |
Computes clustering coefficients from cluster,
where x and y give the object coordinates.
ac(x, y, ...) sil(x, y, groups, ...)
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. |
ac - Computes clustering coefficient from agnes{cluster}.
sil - Computes the silhouette coefficient from from package
cluster.
The clustering coefficient is returned.
Catherine B. Hurley
Kaufman, L. and Rousseeuw, P.J. (1990). Finding Groups in Data: An Introduction to Cluster Analysis . Wiley, New York.
agnes, silhouette, dist.
x <- runif(20)
y <- runif(20)
g <- rep(c("a","b"),10)
ac(x,y)
sil(x,y,g)