Clusters

0th

Percentile

Clustering.

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.

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.

Value

An object of class Clustering

Aliases
  • Clusters
  • Clusters,Clustering,matrix,numeric-method
  • Clusters,Clustering-method
Documentation reproduced from package clusTransition, version 1.0, License: GPL-3

Community examples

Looks like there are no examples yet.