I am clustering a dataset using the pam command (from {cluster} package), and I wish to decide on the number of clusters to use.
I was able to implement The_Elbow_Method in R (see wiki) for doing that. But that doesn't provide me with any solid criteria (like AIC, for example) for decision.
I came by the {clValid} package which looks promising, but I wanted to know if there are any other R solutions (you know of) for choosing the number of clusters for pam?
Here's some dummy code if someone wants to show examples:
data(iris)
head(iris)
require(cluster)
pam(iris[,1:4], 3)