run_kmeans_clustering: Run Kmeans

View source: R/cluster.R

run_kmeans_clusteringR Documentation

Run Kmeans

Description

This function runs Kmeans Clustering. It uses the simple Kmeans algorithm with a max number of iterations set to be 100 by default. The number of clusters can be set by the users and defaults to 10 clusters. This is the R package stats implementation of Kmeans

Usage

run_kmeans_clustering(
  dataList,
  reductionType = "pca",
  numberClusters = 10,
  iterationsMax = 100,
  seed = 1
)

Arguments

dataList

A list of data sets to be clustered by Kmeans

reductionType

The type of dimensionly reduced data that should be used for clustering, defaults to PCA

numberClusters

The number of cluster centers to use, defaults to 10

iterationsMax

The max number of iterations that should be used in the kmeans algorithm, defaults to 100

Value

The dataList with kmeans clusters stored in the meta data


NWhitener/benchmarking documentation built on Oct. 23, 2023, 12:20 a.m.