Description
Initialize slots of class Clustering
by partitioning the dataset into k
clusters.
Usage
Clusters(object, x, k)# S4 method for Clustering,matrix,numeric
Clusters(object, x, k)
Arguments
object
An object of class Clustering
.
Value
An object of class Clustering
Details
Runs cclust
function from "flexclust" package with default settings i.e.
method = "kmeans", dist = "euclidean", and partition the dataset. Returns object of class Clustering
.