 Usage:  cagg = agglom (d, method, no{, opt})  
 
 Input:

  d                      n x 1 vector or l x l matrix of distances 
                         
  method                 string, one of: "WARD", "SINGLE", "COMPLETE", "MEAN_LINK", "MEDIAN_LINK", "AVERAGE", "CENTROID" or "LANCE". 
                         
  no                     scalar, number of clusters 
                         
  opt                    optional argument for some methods - see note below 
                         
 Output:

  cagg.p                 l x 1 matrix with partition numbers (1,2,...) 
                         
  cagg.t                 p x 2 matrix with the dendrogram for no clusters 
                         
  cagg.g                 p x 2 matrix with the dendrogram for all l clusters 
                         
  cagg.pd                l x 1 matrix with with partition numbers (1,2,...) 
                         
  cagg.d                 no x (no-1)/2 matrix with distances between the cluster centers 
                         
--------------------------------------------------------------
(C) MD*TECH Method and Data Technologies, 17.8.2000
