Clusters-methods: Clustering.

Description Usage Arguments Details Value

Description

Initialize slots of class Clustering by partitioning the dataset into k clusters.

Usage

1
2
3
4
Clusters(object, x, k)

## S4 method for signature '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


clusTransition documentation built on Feb. 23, 2021, 1:06 a.m.