Calculates the distance between pairs of cluster centroids, given a distance matrix and a cluster vector.
Arguments
- x
A site-by-site data matrix or an object of class
distcontaining the distance values between pairs of sites (plot records).- cluster
A vector indicating the hard membership of each object in
xto a set of groups. Can containNAvalues.
Value
An object of class dist containing the distances between cluster centers.
