getClusterVarsKmeans: Obtain cluster variables (kmeans)

getClusterVarsKmeansR Documentation

Obtain cluster variables (kmeans)

Description

Extracts a data.frame that contains grouping variables according to clustering results.

Usage

getClusterVarsKmeans(object, ...)

## S4 method for signature 'Clustering'
getClusterVarsKmeans(
  object,
  ks,
  methods_kmeans = "Hartigan-Wong",
  prefix = "",
  naming = "{method_kmeans}_k{k}"
)

## S4 method for signature 'Analysis'
getClusterVarsKmeans(
  object,
  ks,
  methods_kmeans = "Hartigan-Wong",
  prefix = "",
  naming = "{method_kmeans}_k{k}"
)

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.

Value

A data.frame.


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