Dissimilarity Diameters of a Partition
Calculates the diameter (maximum within-cluster dissimilarity) of all clusters in a partition, as well as the average diameter across all clusters.
disdiam(x,dist,digits) ## S3 method for class 'stride' disdiam(x,dist,digits=3) ## S3 method for class 'disdiam' print(x, ...)
disdiam is a cluster validation routine, and calculates the diameter (maximum within-cluster dissimilarity) of each cluster, as well as the average diameter of across all clusters of size greater than one.
A list with components:
diameters |
a data.frame with clusters as rows, and cluster ID, cluster size, and diameter as cols |
mean |
the weighted mean diameter of clusters of size greater than one. The mean is weighted for cluster size. |
David W. Roberts droberts@montana.edu
data(shoshveg) dis.bc <- dsvdis(shoshveg,'bray') opt.5 <- optpart(5,dis.bc) disdiam(opt.5,dis.bc)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.