computeClusteringKmeans: Compute cluster with kmeans

computeClusteringKmeansR Documentation

Compute cluster with kmeans

Description

Computes cluster with method kmeans.

Usage

computeClusteringKmeans(object, ...)

## S4 method for signature 'Clustering'
computeClusteringKmeans(
  object,
  ks,
  methods_kmeans = "Hartigan-Wong",
  verbose = TRUE,
  ...
)

## S4 method for signature 'Analysis'
computeClusteringKmeans(
  object,
  ks,
  methods_kmeans = "Hartigan-Wong",
  verbose = TRUE,
  ...
)

Arguments

object

Any object for whose class a method has been defined.

...

Additional arguments given to stats::kmeans().

ks

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

verbose

Logical. If set to TRUE informative messages regarding the computational progress will be printed.

(Warning messages will always be printed.)

Value

The input object.


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