Learn R Programming

flexclust (version 0.7-0)

predict-methods: Predict Cluster Membership

Description

Return either the cluster membership of training data or predict for new data.

Usage

## S3 method for class 'kcca':
predict(object, newdata, \dots)

Arguments

object
Object of class inheriting from "kcca".
newdata
An optional data matrix with the same number of columns as the cluster centers. If omitted, the fitted values are used.
...
Currently not used.