0

I need to make an unsupervised to exploratively (I have no idea what that means) group workers. Afterwards, I've calculated Euclidean distance, used agglomerative type and ward.D method to group workers and I've done a dendrogram. Now all that is left is to determine the optimal number of clusters. How do I do this? I am a complete idiot when it comes to R so please explain like I'm the village simpleton.

My code:

varlist <- colnames(workers_scaled)
pmatrix <- scale(workers_scaled[,varlist])
d <- dist(workers_scaled, method = "euclidean")
hc1 <- hclust(d, method = "ward.D" )
plot(hc1)

Dendrogram

enter image description here

0 Answers0