Re: [R] Find the number of clusters using clusGAP function in R

2021-01-20 Thread John Kane
Crossposted at https://community.rstudio.com/t/find-the-number-of-clusters-using-clusgap-function-in-r/93586 There is nothing wrong with crossposting but one should mention it to help avoid duplication of effort On Wed, 20 Jan 2021 at 09:46, Jovani T. de Souza wrote: > Could you help me find th

[R] Find the number of clusters using clusGAP function in R

2021-01-20 Thread Jovani T. de Souza
Could you help me find the ideal number of clusters using the `clusGap `function? There is a similar example in this link: https://www.rdocumentation.org/packages/factoextra/versions/1.0.7/topics/fviz_nbclust But I would like to do it for my case. My code is below: library(cluster) df <