## S3 method for class 'kcca':
predict(object, newdata, \dots)
## S3 method for class 'flexclust':
cluster(object)"flexclust".cluster can be used on any object of class "flexclust"
and returns the cluster meberships of the training data. predict can be used only on objects of class "kcca"
(which inherit from "flexclust"). If no newdata argument
is specified, the function is identical to cluster, if
newdata is specified, then cluster memberships for the new data
are predicted.