tune_kmeans: Tune K-means.

View source: R/tune_kmeans.R

tune_kmeansR Documentation

Tune K-means.

Description

Tune K-means.

Usage

tune_kmeans(tbl, k_max, nstart)

Arguments

tbl

Data.

k_max

Maximum number of centers to try.

nstart

Number of random initial solutions for each trial.

Value

A data frame with two columns: (1) k, and (2) wss_to_tss.


pfc5098/analystrpc documentation built on March 20, 2022, 9:26 a.m.