| ac | 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 |
... |
are passed to |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.