ElbowFinder: Elbow Finder

View source: R/KmeansAutoElbow.R

ElbowFinderR Documentation

Elbow Finder

Description

Perform Elbow method for the automatic estimation of the number of clusters.

Usage

ElbowFinder(x, y)

Arguments

x

: x-axis

y

: y-axis

Details

ElbowFinder return K number of groups according to Elbow method

Value

K number of clusters obtained by Elbow method

References

https://stackoverflow.com/a/42810075

Examples


y <- c(824,248,32,28,26,19,20,20,17)           
x <- 1:length(y) 
      
K <- ElbowFinder(x,y)

plot(x,y,type='o')
abline(v=K,col="red")


RclusTool documentation built on May 29, 2024, 5:23 a.m.