[R] silhouette plot colors from trimkmeans solution
Christian Hennig
chrish at stats.ucl.ac.uk
Thu Nov 16 17:03:26 CET 2006
Dear Joe,
I'd try to think it over if you sent me a reproducible example, i.e.,
example data, and code showing what you did with the pam output (how you'd like to
have it) and with the trimkmeans output (which should be improved).
Best,
Christian
On Thu, 16 Nov 2006, Joseph Retzer wrote:
> I was trying to create a multi-color silhouette plot (each cluster a different color) from clusters created by trimkmeans. This works straighforwardly on an object created from pam however my colors are interwoven when I try the same approach on clusters from trimkmeans. I also tried sorting the silhouette object using sortSilhouette which did not solve the problem. If anyone has a suggestion, please let me know. I'm using R 2.4.0 on an XP based PC.
> Thanks very much,
> Joe Retzer
>
> [[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.
>
*** --- ***
Christian Hennig
University College London, Department of Statistical Science
Gower St., London WC1E 6BT, phone +44 207 679 1698
chrish at stats.ucl.ac.uk, www.homepages.ucl.ac.uk/~ucakche
More information about the R-help
mailing list