[R] Partitioning around mediods (PAM)

Ranjan Maitra maitra at iastate.edu
Fri Apr 20 18:27:50 CEST 2007


The question is not reproducable, therefore useless. Perhaps you are forgetting what a medoid is when you expect a mean?

HTH,
Ranjan


On Fri, 20 Apr 2007 17:09:09 +0200 (CEST) nathaniel Grey <nathaniel.grey at yahoo.co.uk> wrote:

> Hi,
> 
> I need some help understanding the output from PAM. When I look at the output it doesn't list the cluster number by the median vlaues on each of the variables (like it does with k-means) Instead I have the following:
> 
> So I know for instance cluster 1 has a mean for variable1 of 33.33, however when I run PAM i get:
>       variable 1     variable2
> 29    32                12
> 97    12                 9 
> 308  106               8
> 217  62                 2
> 
> Does 29 relate to cluster 1,  and 97 to cluster2 etc.
> 
> Hope this makes sense,
> 
> Nathaniel
> 
> 
>       ___________________________________________________________ 
> 
> 
>     [[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
> 
> 
>       ___________________________________________________________
> 
> now.
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



More information about the R-help mailing list