getMedoidsDf: Obtain medoids from PAM clustering

getMedoidsDfR Documentation

Obtain medoids from PAM clustering

Description

Extracts a data.frame containing medoids from PAM clustering results

Usage

getMedoidsDf(object, ...)

## S4 method for signature 'Clustering'
getMedoidsDf(
  object,
  ks,
  methods_pam = "euclidean",
  prefix = "",
  format = "wide"
)

## S4 method for signature 'Analysis'
getMedoidsDf(
  object,
  ks,
  methods_pam = "euclidean",
  prefix = "",
  format = "wide"
)

## S4 method for signature 'ClusteringPam'
getMedoidsDf(
  object,
  ks,
  methods_pam = "euclidean",
  prefix = "",
  format = "wide"
)

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.


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