Re: [R] distance to cluster center

2004-08-19 Thread Christian Hennig
On Wed, 18 Aug 2004, Moises Hassan wrote:

 Is there a way to get the distance between each point and the center of
 the cluster it was assigned to in cluster methods such as agnes, pam,
 and clara.

I don't think that it's directly available, but for pam and clara you can
easily get it from your dissimilarity matrix using the information
given in the components clustering and
medoids of the output object (see ?pam.object, ?clara.object).

For hierarchical clustering methods as implemented in agnes, there is no
such thing as a well defined cluster center.

Christian


***
Christian Hennig
Fachbereich Mathematik-SPST/ZMS, Universitaet Hamburg
[EMAIL PROTECTED], http://www.math.uni-hamburg.de/home/hennig/
###
ich empfehle www.boag-online.de

__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


[R] distance to cluster center

2004-08-18 Thread Moises Hassan
Is there a way to get the distance between each point and the center of
the cluster it was assigned to in cluster methods such as agnes, pam,
and clara.

 

Thanks!

   - Moises

 


[[alternative HTML version deleted]]

__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html