Learn R Programming

biotools (version 4.3)

distClust: Cluster Distance Matrix

Description

Function to compute a matrix of average distances within and between clusters.

Usage

distClust(d, nobj.cluster, id.cluster)

Value

A squared matrix containing distances within (diagonal) and between (off-diagonal) clusters.

Arguments

d

an object of class "dist" containing the distances between objects.

nobj.cluster

a numeric vector containing the numbers of objects per cluster.

id.cluster

a numeric vector for identification of the objects per cluster.

Author

Anderson Rodrigo da Silva <anderson.agro@hotmail.com>

See Also

tocher, dist