factoextra
factoextra copied to clipboard
Number of clusters using factoextra in R
I am trying to decide the number of clusters possible using elbow method with below code, the object 'scaled' has dimension of (21613,4)
set.seed(200) fviz_nbclust(scaled,kmeans,method="wss")+geom_vline(linetype=2)+labs("Elbow Method")
With above code I am getting memory error, my system has 8gb ram. Please help.
@KafeelBasha can you provide a minimum complete and verifiable example to replicate the issue? See this StackOverflow post on how to create one