length,Clustering-method {ClustAssess}R Documentation

Length of an Object

Description

Get the number of elements in the Clustering.

Usage

## S4 method for signature 'Clustering'
length(x)

Arguments

x

The Clustering object.

Value

The number of elements.

Examples

km.res = kmeans(mtcars, 3)$cluster
km.clustering = create_clustering(km.res)
length(km.clustering)

[Package ClustAssess version 0.1.1 Index]