distClust {biotools} | R Documentation |
Function to compute a matrix of average distances within and between clusters.
distClust(d, nobj.cluster, id.cluster)
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. |
A squared matrix containing distances within (diagonal) and between (off-diagonal) clusters.
Anderson Rodrigo da Silva <anderson.agro@hotmail.com>