elbow_method: Plot a graph (number of clusters, total sum of squares within...

Description Usage Arguments Value See Also

View source: R/clustering.R

Description

Method must be either "kmeans" or "hclust". Default method, if none is given, is hclust.

Usage

1
elbow_method(d, kmax = 10, method)

Arguments

d

A data matrix.

kmax

Maximal number of clusters to plot the clustering.

method

Clustering method, either "kmeans" or "hclust".

Value

No return. Plots a graph.

See Also

kmeans_wss

hclust_wss


dkopcino/sleepers documentation built on Dec. 31, 2020, 11:21 p.m.