CLUST_WTS

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. The result is an m -column, N_CLUSTERS-row array of cluster centers.

Calling Sequence

Result = CLUST_WTS( Array )

Arguments

Array

An m -column, n -row array of any data type except string, single- or double-precision complex.

Keywords

DOUBLE

Set this keyword to force the computation to be done in double-precision arithmetic.

N_CLUSTERS

Set this keyword equal to the number of cluster centers. The default is to compute n cluster centers.

N_ITERATIONS

Set this keyword equal to the number of iterations used when in computing the cluster centers. The default is to use 20 iterations.

VARIABLE_WTS

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.

Example

See the documentation for CLUSTER.

See Also

CLUSTER , Multivariate Analysis .