"predict"(object, newdata, ...)
"clusters"(object, newdata, ...)"flexclust".clusters can be used on any object of class "flexclust"
and returns the cluster memberships 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 clusters, if
newdata is specified, then cluster memberships for the new data
are predicted. clusters(object, newdata, ...) is an alias for
predict(object, newdata, ...).