The CLUST_WTS function computes the weights (the cluster centers) of an m-column, n-row array, where m is the number of variables and n is the number of observations or samples.
This routine is written in the IDL language. Its source code can be found in the file clust_wts.pro in the lib subdirectory of the IDL distribution.
For more information on cluster analysis, see:
Everitt, Brian S. Cluster Analysis. New York: Halsted Press, 1993. ISBN 0-470-22043-0
Result = CLUST_WTS( Array [, /DOUBLE] [, N_CLUSTERS=value] [, N_ITERATIONS=integer] [, VARIABLE_WTS=vector] )
Returns an m-column, N_CLUSTERS-row array of cluster centers by computing the weights (the cluster centers) of an m-column, n-row array, where m is the number of variables and n is the number of observations or samples.
An m-column, n-row array of any data type except string, single- or double-precision complex.
Set this keyword to force the computation to be done in double-precision arithmetic.
Set this keyword equal to the number of cluster centers. The default is to compute n cluster centers.
Set this keyword equal to the number of iterations used when in computing the cluster centers. The default is to use 20 iterations.
Set this keyword equal to an m-element vector of floating-point variable weights. The elements of this vector are used to give greater or lesser importance to each variable (each column) in determining the cluster centers. The default is to give all variables equal weighting using a value of 1.0.
See CLUSTER.
Introduced: 5.0
CLUSTER, "Multivariate Analysis" in the Using IDL manual.