Agglomerative hierarchical clustering is applied to the one-dimensional data set \(\{0,\ 2,\ 7,\ 15,\ 18,\ 28\}\), with the absolute difference as the distance between points. Each dendrogram is cut so as to give exactly two clusters. The two clusters obtained with single linkage and with complete linkage are, respectively,
- Asingle: \(\{0,2,7\}\), \(\{15,18,28\}\);\quad complete: \(\{0,2,7,15,18\}\), \(\{28\}\)
- Bsingle: \(\{0,2,7,15,18\}\), \(\{28\}\);\quad complete: \(\{0,2,7\}\), \(\{15,18,28\}\)
- Csingle: \(\{0,2,7\}\), \(\{15,18,28\}\);\quad complete: \(\{0,2,7\}\), \(\{15,18,28\}\)
- Dsingle: \(\{0,2,7,15,18\}\), \(\{28\}\);\quad complete: \(\{0,2,7,15,18\}\), \(\{28\}\)