[R] PAM Clustering Ignores Cluster Number Parameter

Dario Strbenac D.Strbenac at garvan.org.au
Wed May 18 04:00:11 CEST 2011


I am using PAM with k = 10 clusters, but I only get one cluster ID for all my observations. I couldn't find any discussion about this in the help file, or mailing lists.

Is there a reasonable explanation for this result ?

cIDs <- pam(all, 10, cluster.only = TRUE, do.swap = FALSE)
> table(cIDs)
cIDs
    0 
16671

The matrix of observations can be found at : http://129.94.136.7/file_dump/dario/all.obj

I'm using R version 2.13.0 (2011-04-13) on Platform: x86_64-unknown-linux-gnu (64-bit) and have cluster_1.13.3.

--------------------------------------
Dario Strbenac
Research Assistant
Cancer Epigenetics
Garvan Institute of Medical Research
Darlinghurst NSW 2010
Australia



More information about the R-help mailing list