distClust {biotools}R Documentation

Cluster Distance Matrix

Description

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

Usage

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

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.

Value

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

Author(s)

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

See Also

tocher, dist


[Package biotools version 4.2 Index]