Re: [R] Result of clustering on plot

2012-05-11 Thread greyofthedawn
Yes, now it works! Thank you very much for your help! Jane -- View this message in context: http://r.789695.n4.nabble.com/Result-of-clustering-on-plot-tp4625043p4627431.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.

Re: [R] Result of clustering on plot

2012-05-11 Thread Jean V Adams
You don't give much information about x, but assuming that the "names" you want to add to the plot are the row names. Try this text(x, col=cl$cluster, rownames(x)) Jean greyofthedawn wrote on 05/10/2012 06:46:05 PM: > Hello! I 'm new to R and need your help in one question... > I did cluste

[R] Result of clustering on plot

2012-05-10 Thread greyofthedawn
Hello! I 'm new to R and need your help in one question... I did cluster analysis using kmeans function. I load data from file: This file also contains headers for objects I want to cluster. After making a clustering procedure I display result on plot: And it shows only points (i.e. objects) wit