This program can be used to transform a
hierarchical clustering, created by
the
cluster program, into a partitioning of
the original data.
Since both
cluster and
clgroup read from
standard input and write to standard output, these programs can be joined in a pipe:
cluster -wm diftable | clgroup -n 4 > partitioning.txt