You can perform a clustering
analysis for all variables in an in-memory table by simply issuing
a CLUSTER statement. However, specifying the variables to analyze
and options can be specified to provide more a meaningful analysis.
The following SAS statements
load the famous Iris flower data of R.A. Fisher to memory, and then
perform
k-means clustering on four of the variables.