diameter: Cluster heterogeneity of 2-d data

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/colpairs.R

Description

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

Usage

1
2
3
4
5
diameter(x, y, ...)
star(x, y, ...)
km2(x,y)
gtot(x,y, ...)
gave(x,y, ...)

Arguments

x

is a numeric vector.

y

is a numeric vector.

...

are passed to dist.

Details

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.

Value

The cluster measure is returned.

Author(s)

Catherine B. Hurley

References

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

See Also

colpairs, cpairs, order.single

Examples

1
2
3
x <- runif(20)
y <- runif(20)
diameter(x,y)

gclus documentation built on May 2, 2019, 5:08 a.m.