clusTransition (version 1.0)

Clusters: Clustering.

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.

x

Numeric matrix of data.

k

Number of centers.

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.