getSilWidthsDf: Obtain sil-width data

getSilWidthsDfR Documentation

Obtain sil-width data

Description

Extracts a data.frame that contains information about the silhouette width of every observation in different clustering results with method pam.

Usage

getSilWidthsDf(object, ...)

## S4 method for signature 'Clustering'
getSilWidthsDf(object, ks, method_pam = "euclidean", format = "long")

## S4 method for signature 'Analysis'
getSilWidthsDf(object, ks, method_pam = "euclidean", format = "long")

## S4 method for signature 'ClusteringPam'
getSilWidthsDf(object, ks, method_pam = "euclidean", format = "long")

Arguments

object

Any object for whose class a method has been defined.

ks

Numeric vector. Denotes all options for k-clusters. Values <1 are discarded. Is converted into an integer vector.

format

Character value. Either 'long' or 'wide'. Shifts the perspective of the output data.frame.

Value

Data.frame.


kueckelj/confuns documentation built on July 4, 2024, 4:53 p.m.